Index: runtime/vm/code_patcher_x64_test.cc |
diff --git a/runtime/vm/code_patcher_x64_test.cc b/runtime/vm/code_patcher_x64_test.cc |
index 13d2978ba5f7ce28da66e7f2b242f2ea2f6d8dd5..510222678b4ba4a4e91993c8c23d52eb3104b06d 100644 |
--- a/runtime/vm/code_patcher_x64_test.cc |
+++ b/runtime/vm/code_patcher_x64_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, |