summaryrefslogtreecommitdiff
path: root/compiler/exception_test.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-06-09 01:30:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-06-09 01:30:57 +0000
commitd632b8b8a031cda163c6f9a6b4e33a192f123a0b (patch)
tree3700f049994e44d8a865db8319b72c7a2a4cc613 /compiler/exception_test.cc
parent934adc1dac48512abbd5107c2f951d1f4c0188d8 (diff)
parent3b7dc35f4e5c4d86c73b6784b7ee0df701c68ec2 (diff)
Merge changes I953d774b,Id84c44bf
* changes: ART: Clean up allocator.h ART: Move CalleeSaveType to callee_save_type.h
Diffstat (limited to 'compiler/exception_test.cc')
-rw-r--r--compiler/exception_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc
index dc880b089e..b4777df0df 100644
--- a/compiler/exception_test.cc
+++ b/compiler/exception_test.cc
@@ -17,6 +17,7 @@
#include <memory>
#include "base/arena_allocator.h"
+#include "base/callee_save_type.h"
#include "base/enums.h"
#include "class_linker.h"
#include "common_runtime_test.h"
@@ -170,7 +171,7 @@ TEST_F(ExceptionTest, StackTraceElement) {
Runtime* r = Runtime::Current();
r->SetInstructionSet(kRuntimeISA);
ArtMethod* save_method = r->CreateCalleeSaveMethod();
- r->SetCalleeSaveMethod(save_method, Runtime::kSaveAllCalleeSaves);
+ r->SetCalleeSaveMethod(save_method, CalleeSaveType::kSaveAllCalleeSaves);
QuickMethodFrameInfo frame_info = r->GetRuntimeMethodFrameInfo(save_method);
ASSERT_EQ(kStackAlignment, 16U);