| Index: runtime/vm/stub_code_ia32_test.cc
|
| diff --git a/runtime/vm/stub_code_ia32_test.cc b/runtime/vm/stub_code_ia32_test.cc
|
| index e494e97b6cbcb29af6672c49c6c1cf03811f818e..b1591d270cd803f0e86f5af95668b32c90d3cfc6 100644
|
| --- a/runtime/vm/stub_code_ia32_test.cc
|
| +++ b/runtime/vm/stub_code_ia32_test.cc
|
| @@ -36,7 +36,7 @@ static void GenerateCallToCallRuntimeStub(Assembler* assembler,
|
| const Smi& smi1 = Smi::ZoneHandle(Smi::New(value1));
|
| const Smi& smi2 = Smi::ZoneHandle(Smi::New(value2));
|
| const Object& result = Object::ZoneHandle();
|
| - const Context& context = Context::ZoneHandle(Context::New(0));
|
| + const Context& context = Context::ZoneHandle(Context::New(0, Heap::kOld));
|
| ASSERT(context.isolate() == Isolate::Current());
|
| __ enter(Immediate(0));
|
| __ LoadObject(CTX, context);
|
| @@ -119,7 +119,7 @@ static void GenerateCallToCallNativeCFunctionStub(Assembler* assembler,
|
| Dart_NativeFunction native_function =
|
| NativeTestEntry_Lookup(native_name, argc);
|
| ASSERT(native_function != NULL);
|
| - const Context& context = Context::ZoneHandle(Context::New(0));
|
| + const Context& context = Context::ZoneHandle(Context::New(0, Heap::kOld));
|
| ASSERT(context.isolate() == Isolate::Current());
|
| __ enter(Immediate(0));
|
| __ LoadObject(CTX, context);
|
|
|