Reviewers: dcarney,

Description:
Try fixing NaCl V8 compilation failure by initializing interrupt_callback_data_.

[email protected]
BUG=

Please review this at https://codereview.chromium.org/116093006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+4, -2 lines):
  M src/execution.cc


Index: src/execution.cc
diff --git a/src/execution.cc b/src/execution.cc
index 634c83ae189e5a2e5cdc8be4abbb0c91f85dcb07..a9f72b33a0c6e2ced9cfcd00900c6cbafe096375 100644
--- a/src/execution.cc
+++ b/src/execution.cc
@@ -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;
 }



--
--
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.

Reply via email to