diff options
Diffstat (limited to 'runtime/arch/stub_test.cc')
-rw-r--r-- | runtime/arch/stub_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/arch/stub_test.cc b/runtime/arch/stub_test.cc index 1d055400a1..5e8edf0571 100644 --- a/runtime/arch/stub_test.cc +++ b/runtime/arch/stub_test.cc @@ -33,10 +33,11 @@ class StubTest : public CommonRuntimeTest { { // Create callee-save methods ScopedObjectAccess soa(Thread::Current()); + runtime_->SetInstructionSet(kRuntimeISA); for (int i = 0; i < Runtime::kLastCalleeSaveType; i++) { Runtime::CalleeSaveType type = Runtime::CalleeSaveType(i); if (!runtime_->HasCalleeSaveMethod(type)) { - runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(kRuntimeISA, type), type); + runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(type), type); } } } |