Index: runtime/vm/runtime_entry.cc |
diff --git a/runtime/vm/runtime_entry.cc b/runtime/vm/runtime_entry.cc |
index 6e0b1bb9ecdbd1c6d5ce2fb290b1b804e1e5fd2b..101898f9cad88e1b8dc82ad9b50661b4e4a09930 100644 |
--- a/runtime/vm/runtime_entry.cc |
+++ b/runtime/vm/runtime_entry.cc |
@@ -17,11 +17,19 @@ const Function& RegisterFakeFunction(const char* name, const Code& code) { |
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)); |
+ Class::Handle(Class::New(class_name, script, |
+ TokenPosition::kNoSource)); |
const String& function_name = String::ZoneHandle(Symbols::New(name)); |
const Function& function = Function::ZoneHandle( |
- Function::New(function_name, RawFunction::kRegularFunction, |
- true, false, false, false, false, owner_class, 0)); |
+ Function::New(function_name, |
+ RawFunction::kRegularFunction, |
+ true, |
+ false, |
+ false, |
+ false, |
+ false, |
+ owner_class, |
+ TokenPosition::kMinSource)); |
const Array& functions = Array::Handle(Array::New(1)); |
functions.SetAt(0, function); |
owner_class.SetFunctions(functions); |