Index: runtime/vm/code_patcher_arm_test.cc |
diff --git a/runtime/vm/code_patcher_arm_test.cc b/runtime/vm/code_patcher_arm_test.cc |
index 06b9f8c9ed4d44c8a467b0c96f410bf6072dab6e..a4cdfe507a751d0d1ca8e85bc1b11ccf255fb26d 100644 |
--- a/runtime/vm/code_patcher_arm_test.cc |
+++ b/runtime/vm/code_patcher_arm_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, |