Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: src/execution.cc

Issue 116093006: Try fixing NaCl V8 compilation failure by initializing interrupt_callback_data_. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698