| Index: runtime/vm/stub_code_x64_test.cc
|
| ===================================================================
|
| --- runtime/vm/stub_code_x64_test.cc (revision 10199)
|
| +++ runtime/vm/stub_code_x64_test.cc (working copy)
|
| @@ -24,10 +24,14 @@
|
|
|
|
|
| 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, Scanner::kDummyTokenIndex));
|
| const String& function_name = String::ZoneHandle(Symbols::New(name));
|
| Function& function = Function::ZoneHandle(
|
| Function::New(function_name, RawFunction::kRegularFunction,
|
| - true, false, false, false, 0));
|
| + true, false, false, false, owner_class, 0));
|
| return &function;
|
| }
|
|
|
| @@ -74,7 +78,7 @@
|
| }
|
|
|
|
|
| -// Test calls to stub code which calls into the runtime.
|
| +// Test calls to stub code which calls into a leaf runtime entry.
|
| static void GenerateCallToCallLeafRuntimeStub(Assembler* assembler,
|
| int value1,
|
| int value2) {
|
|
|