Index: src/mksnapshot.cc |
=================================================================== |
--- src/mksnapshot.cc (revision 7267) |
+++ src/mksnapshot.cc (working copy) |
@@ -223,12 +223,12 @@ |
// Make sure all builtin scripts are cached. |
{ HandleScope scope; |
for (int i = 0; i < i::Natives::GetBuiltinsCount(); i++) { |
- i::Bootstrapper::NativesSourceLookup(i); |
+ i::Isolate::Current()->bootstrapper()->NativesSourceLookup(i); |
} |
} |
// If we don't do this then we end up with a stray root pointing at the |
// context even after we have disposed of the context. |
- i::Heap::CollectAllGarbage(true); |
+ HEAP->CollectAllGarbage(true); |
i::Object* raw_context = *(v8::Utils::OpenHandle(*context)); |
context.Dispose(); |
CppByteSink sink(argv[1]); |