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 7d1f31d1c4a8f187bb63a05018f84edfee7b9660..13d2978ba5f7ce28da66e7f2b242f2ea2f6d8dd5 100644 |
--- a/runtime/vm/code_patcher_x64_test.cc |
+++ b/runtime/vm/code_patcher_x64_test.cc |
@@ -23,12 +23,13 @@ namespace dart { |
ASSEMBLER_TEST_GENERATE(IcDataAccess, assembler) { |
const String& class_name = String::Handle(Symbols::New("ownerClass")); |
const Script& script = Script::Handle(); |
- const Class& owner_class = |
- Class::Handle(Class::New(class_name, script, Token::kNoSourcePos)); |
+ const Class& owner_class = Class::Handle( |
+ Class::New(class_name, script, TokenPosition::kNoSource)); |
const String& function_name = String::Handle(Symbols::New("callerFunction")); |
const Function& function = Function::Handle( |
Function::New(function_name, RawFunction::kRegularFunction, |
- true, false, false, false, false, owner_class, 0)); |
+ true, false, false, false, false, owner_class, |
+ TokenPosition::kNoSource)); |
const String& target_name = String::Handle(String::New("targetFunction")); |
const Array& args_descriptor = |