summaryrefslogtreecommitdiff
path: root/runtime/exception_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2014-02-25 19:38:22 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-02-25 19:38:22 +0000
commitdc7ea119c7c3e8a668527a6c53f445ced647c02c (patch)
treed395839dd94d63ce050fb0120025f7f604644d5a /runtime/exception_test.cc
parentefeedc2f56a7525cc5958a429636a74c7c8b77d3 (diff)
parent2e589aa58a1372909f95e731fd6b8895f6359c3a (diff)
Merge "Encode VmapTable entries offset by 2 to reduce size."
Diffstat (limited to 'runtime/exception_test.cc')
-rw-r--r--runtime/exception_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/exception_test.cc b/runtime/exception_test.cc
index c7f537a785..910a817b2e 100644
--- a/runtime/exception_test.cc
+++ b/runtime/exception_test.cc
@@ -28,6 +28,7 @@
#include "sirt_ref.h"
#include "thread.h"
#include "UniquePtr.h"
+#include "vmap_table.h"
namespace art {
@@ -66,7 +67,7 @@ class ExceptionTest : public CommonTest {
fake_mapping_data_.PushBackUnsigned(3 - 0); // offset 3
fake_mapping_data_.PushBackSigned(3 - 0); // maps to dex offset 3
- fake_vmap_table_data_.PushBackUnsigned(0);
+ fake_vmap_table_data_.PushBackUnsigned(0 + VmapTable::kEntryAdjustment);
fake_gc_map_.push_back(0); // 0 bytes to encode references and native pc offsets.
fake_gc_map_.push_back(0);