Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index 31d2dd579d66e880dd294b0d45efd8903cb7c701..65b2830884f216de759ae610ce31b2603f83a783 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -53,7 +53,6 @@ V8_DECLARE_ONCE(init_once); |
bool V8::is_running_ = false; |
bool V8::has_been_set_up_ = false; |
bool V8::has_been_disposed_ = false; |
-bool V8::has_fatal_error_ = false; |
List<CallCompletedCallback>* V8::call_completed_callbacks_ = NULL; |
v8::ArrayBuffer::Allocator* V8::array_buffer_allocator_ = NULL; |
@@ -79,26 +78,18 @@ bool V8::Initialize(Deserializer* des) { |
ASSERT(i::Isolate::CurrentPerIsolateThreadData()->isolate() == |
i::Isolate::Current()); |
- if (IsDead()) return false; |
- |
Isolate* isolate = Isolate::Current(); |
+ if (isolate->IsDead()) return false; |
if (isolate->IsInitialized()) return true; |
is_running_ = true; |
has_been_set_up_ = true; |
- has_fatal_error_ = false; |
has_been_disposed_ = false; |
return isolate->Init(des); |
} |
-void V8::SetFatalError() { |
- is_running_ = false; |
- has_fatal_error_ = true; |
-} |
- |
- |
void V8::TearDown() { |
Isolate* isolate = Isolate::Current(); |
ASSERT(isolate->IsDefaultIsolate()); |