summaryrefslogtreecommitdiffstats
path: root/runtime/thread.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-11-22 02:23:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-22 02:23:06 +0000
commite26310320e7ee7bdfcdf340d2e66f216f1d90aa6 (patch)
tree09fd909f736572ef8a2fd54f5fc2bbe7e08e53ed /runtime/thread.cc
parent022b46cb09a6189797fb3e77dbe7673a3d59249f (diff)
parentacbb30867482986e02a7cc53c099b8d56d32acee (diff)
downloadart-e26310320e7ee7bdfcdf340d2e66f216f1d90aa6.zip
art-e26310320e7ee7bdfcdf340d2e66f216f1d90aa6.tar.gz
art-e26310320e7ee7bdfcdf340d2e66f216f1d90aa6.tar.bz2
Merge "Fix UnimplementedEntryPoint initialziation."
Diffstat (limited to 'runtime/thread.cc')
-rw-r--r--runtime/thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc
index cd47b5e..163c11d 100644
--- a/runtime/thread.cc
+++ b/runtime/thread.cc
@@ -96,8 +96,8 @@ void InitEntryPoints(InterpreterEntryPoints* ipoints, JniEntryPoints* jpoints,
void Thread::InitTlsEntryPoints() {
// Insert a placeholder so we can easily tell if we call an unimplemented entry point.
uintptr_t* begin = reinterpret_cast<uintptr_t*>(&tlsPtr_.interpreter_entrypoints);
- uintptr_t* end = reinterpret_cast<uintptr_t*>(reinterpret_cast<uint8_t*>(begin) +
- sizeof(tlsPtr_.quick_entrypoints));
+ uintptr_t* end = reinterpret_cast<uintptr_t*>(reinterpret_cast<uint8_t*>(&tlsPtr_.quick_entrypoints) +
+ sizeof(tlsPtr_.quick_entrypoints));
for (uintptr_t* it = begin; it != end; ++it) {
*it = reinterpret_cast<uintptr_t>(UnimplementedEntryPoint);
}