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:
4e3cfef
)
Fixed wrong field usage in Instrumentation::RemoveListener
author
Daniel Mihalyi
<daniel.mihalyi@mattakis.com>
Thu, 21 Aug 2014 13:57:25 +0000
(15:57 +0200)
committer
Daniel Mihalyi
<daniel.mihalyi@mattakis.com>
Thu, 21 Aug 2014 13:57:25 +0000
(15:57 +0200)
Change-Id: I574fcacf754c1da1dc03459d5859b04bcebeac11
Signed-off-by: Daniel Mihalyi <daniel.mihalyi@mattakis.com>
runtime/instrumentation.cc
patch
|
blob
|
history
diff --git
a/runtime/instrumentation.cc
b/runtime/instrumentation.cc
index
47d35f3
..
0f45b9e
100644
(file)
--- a/
runtime/instrumentation.cc
+++ b/
runtime/instrumentation.cc
@@
-495,7
+495,7
@@
void Instrumentation::RemoveListener(InstrumentationListener* listener, uint32_t
}
}
if ((events & kFieldRead) != 0) {
- if (have_
dex_pc
_listeners_) {
+ if (have_
field_read
_listeners_) {
std::list<InstrumentationListener*>* modified =
new std::list<InstrumentationListener*>(*field_read_listeners_.get());
modified->remove(listener);