Index: runtime/vm/stub_code_arm64_test.cc |
diff --git a/runtime/vm/stub_code_arm64_test.cc b/runtime/vm/stub_code_arm64_test.cc |
index a64d6f772d38e6a2166b3cf4bafa14c1e52b919d..7cc0b6529af0bf03ffdae4fd017271c9b06a2dbe 100644 |
--- a/runtime/vm/stub_code_arm64_test.cc |
+++ b/runtime/vm/stub_code_arm64_test.cc |
@@ -22,14 +22,15 @@ namespace dart { |
static Function* CreateFunction(const char* name) { |
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 Library& lib = Library::Handle(Library::New(class_name)); |
owner_class.set_library(lib); |
const String& function_name = String::ZoneHandle(Symbols::New(name)); |
Function& function = Function::ZoneHandle( |
Function::New(function_name, RawFunction::kRegularFunction, |
- true, false, false, false, false, owner_class, 0)); |
+ true, false, false, false, false, owner_class, |
+ TokenPosition::kNoSource)); |
return &function; |
} |