v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <errno.h>
#include <stdio.h>
#include <signal.h>
#include "v8.h"
#include "bootstrapper.h"
#include "flags.h"
#include "natives.h"
#include "platform.h"
#include "serialize.h"
#include "list.h"
Go to the source code of this file.
Data Structures | |
class | Compressor |
class | PartialSnapshotSink |
class | CppByteSink |
Functions | |
void | DumpException (Handle< Message > message) |
int | main (int argc, char **argv) |
Definition at line 256 of file mksnapshot.cc.
References Message::Get(), Message::GetEndColumn(), Message::GetLineNumber(), and Message::GetSourceLine().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 268 of file mksnapshot.cc.
References Isolate::bootstrapper(), v8::internal::CELL_SPACE, v8::internal::CODE_SPACE, Heap::CollectAllGarbage(), Script::Compile(), PartialSnapshotSink::Compress(), Serializer::CurrentAllocationAddress(), Isolate::Dispose(), V8::Dispose(), DumpException(), Serializer::Enable(), Isolate::Enter(), Isolate::Exit(), OS::FOpen(), NativesCollection< type >::GetBuiltinsCount(), TryCatch::HasCaught(), Isolate::heap(), V8::InitializeICU(), PersistentBase< T >::IsEmpty(), Heap::kNoGCFlags, v8::internal::MAP_SPACE, TryCatch::Message(), name, Bootstrapper::NativesSourceLookup(), Isolate::New(), Context::New(), v8::internal::NEW_SPACE, String::NewFromUtf8(), NULL, v8::internal::OLD_DATA_SPACE, v8::internal::OLD_POINTER_SPACE, Utils::OpenPersistent(), CppByteSink::partial_sink(), v8::internal::PROPERTY_CELL_SPACE, PersistentBase< T >::Reset(), Script::Run(), PartialSerializer::Serialize(), StartupSerializer::SerializeStrongReferences(), StartupSerializer::SerializeWeakReferences(), V8::SetCaptureStackTraceForUncaughtExceptions(), Isolate::SetCrashIfDefaultIsolateInitialized(), size, CppByteSink::WritePartialSnapshot(), CppByteSink::WriteSnapshot(), and CppByteSink::WriteSpaceUsed().