Revision: 17627
Author: [email protected]
Date: Tue Nov 12 07:03:59 2013 UTC
Log: Have mercy and don't kill the Context::Scope immediately after
birth.
BUG=v8::2994
[email protected]
Review URL: https://codereview.chromium.org/68693003
http://code.google.com/p/v8/source/detail?r=17627
Modified:
/branches/bleeding_edge/src/mksnapshot.cc
=======================================
--- /branches/bleeding_edge/src/mksnapshot.cc Fri Oct 18 09:06:58 2013 UTC
+++ /branches/bleeding_edge/src/mksnapshot.cc Tue Nov 12 07:03:59 2013 UTC
@@ -309,7 +309,7 @@
// Capture 100 frames if anything happens.
V8::SetCaptureStackTraceForUncaughtExceptions(true, 100);
HandleScope scope(isolate);
- v8::Context::Scope(v8::Local<v8::Context>::New(isolate, context));
+ v8::Context::Scope cscope(v8::Local<v8::Context>::New(isolate,
context));
const char* name = i::FLAG_extra_code;
FILE* file = i::OS::FOpen(name, "rb");
if (file == NULL) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.