| Index: test/cctest/compiler/test-js-context-specialization.cc
|
| diff --git a/test/cctest/compiler/test-js-context-specialization.cc b/test/cctest/compiler/test-js-context-specialization.cc
|
| index 2f9976e6d499e0e2652b7ff08b769fcfcaf69c8e..e2612e9ea8b72f5269adbb1e5f5b0ab0924bb748 100644
|
| --- a/test/cctest/compiler/test-js-context-specialization.cc
|
| +++ b/test/cctest/compiler/test-js-context-specialization.cc
|
| @@ -65,7 +65,7 @@
|
| subcontext2->set_previous(*subcontext1);
|
| subcontext1->set_previous(*native);
|
| Handle<Object> expected = t.factory()->InternalizeUtf8String("gboy!");
|
| - const int slot = Context::NATIVE_CONTEXT_INDEX;
|
| + const int slot = Context::GLOBAL_OBJECT_INDEX;
|
| native->set(slot, *expected);
|
|
|
| Node* const_context = t.jsgraph()->Constant(native);
|
| @@ -136,7 +136,7 @@
|
| subcontext2->set_previous(*subcontext1);
|
| subcontext1->set_previous(*native);
|
| Handle<Object> expected = t.factory()->InternalizeUtf8String("gboy!");
|
| - const int slot = Context::NATIVE_CONTEXT_INDEX;
|
| + const int slot = Context::GLOBAL_OBJECT_INDEX;
|
| native->set(slot, *expected);
|
|
|
| Node* const_context = t.jsgraph()->Constant(native);
|
| @@ -204,7 +204,7 @@
|
| // Make a context and initialize it a bit for this test.
|
| Handle<Context> native = t.factory()->NewNativeContext();
|
| Handle<Object> expected = t.factory()->InternalizeUtf8String("gboy!");
|
| - const int slot = Context::NATIVE_CONTEXT_INDEX;
|
| + const int slot = Context::GLOBAL_OBJECT_INDEX;
|
| native->set(slot, *expected);
|
|
|
| Node* const_context = t.jsgraph()->Constant(native);
|
|
|