Try fixing NaCl V8 compilation failure by initializing interrupt_callback_data_.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 19 Dec 2013 17:09:38 +0000 (17:09 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 19 Dec 2013 17:09:38 +0000 (17:09 +0000)
TBR=dcarney@chromium.org
BUG=

Review URL: https://codereview.chromium.org/116093006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18376 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/execution.cc

index 634c83ae189e5a2e5cdc8be4abbb0c91f85dcb07..a9f72b33a0c6e2ced9cfcd00900c6cbafe096375 100644 (file)
@@ -623,7 +623,8 @@ void StackGuard::ThreadLocal::Clear() {
   nesting_ = 0;
   postpone_interrupts_nesting_ = 0;
   interrupt_flags_ = 0;
-  interrupt_callback_ = 0;
+  interrupt_callback_ = NULL;
+  interrupt_callback_data_ = NULL;
 }
 
 
@@ -644,7 +645,8 @@ bool StackGuard::ThreadLocal::Initialize(Isolate* isolate) {
   nesting_ = 0;
   postpone_interrupts_nesting_ = 0;
   interrupt_flags_ = 0;
-  interrupt_callback_ = 0;
+  interrupt_callback_ = NULL;
+  interrupt_callback_data_ = NULL;
   return should_set_stack_limits;
 }