OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a92027
)
ART: Fix alloc-dealloc mismatch
author
Andreas Gampe
<agampe@google.com>
Sat, 12 Nov 2016 01:11:25 +0000
(17:11 -0800)
committer
Andreas Gampe
<agampe@google.com>
Sat, 12 Nov 2016 01:11:25 +0000
(17:11 -0800)
Mark type as array.
Bug:
31098551
Test: m test-art-host
Change-Id: Ia27a997e838a408cc68f0d9fe58734155e709e85
runtime/jit/offline_profiling_info.h
patch
|
blob
|
history
diff --git
a/runtime/jit/offline_profiling_info.h
b/runtime/jit/offline_profiling_info.h
index
0b26f9b
..
fdca078
100644
(file)
--- a/
runtime/jit/offline_profiling_info.h
+++ b/
runtime/jit/offline_profiling_info.h
@@
-152,7
+152,7
@@
class ProfileCompilationInfo {
uint8_t* Get() { return storage_.get(); }
private:
- std::unique_ptr<uint8_t> storage_;
+ std::unique_ptr<uint8_t
[]
> storage_;
uint8_t* ptr_current_;
uint8_t* ptr_end_;
};