Index: runtime/vm/code_patcher_mips_test.cc |
diff --git a/runtime/vm/code_patcher_mips_test.cc b/runtime/vm/code_patcher_mips_test.cc |
index e99a9878a1db8c542e189fe776be8cbc800d0ccd..0776083b78c4f69448d65a715bec523df685a687 100644 |
--- a/runtime/vm/code_patcher_mips_test.cc |
+++ b/runtime/vm/code_patcher_mips_test.cc |
@@ -21,11 +21,13 @@ namespace dart { |
#define __ assembler-> |
ASSEMBLER_TEST_GENERATE(IcDataAccess, assembler) { |
- const String& class_name = String::Handle(Symbols::New("ownerClass")); |
+ Thread* thread = Thread::Current(); |
+ const String& class_name = String::Handle(Symbols::New(thread, "ownerClass")); |
const Script& script = Script::Handle(); |
const Class& owner_class = Class::Handle( |
Class::New(class_name, script, TokenPosition::kNoSource)); |
- const String& function_name = String::Handle(Symbols::New("callerFunction")); |
+ const String& function_name = String::Handle(Symbols::New(thread, |
+ "callerFunction")); |
const Function& function = Function::Handle( |
Function::New(function_name, RawFunction::kRegularFunction, |
true, false, false, false, false, owner_class, |