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

Unified Diff: src/execution.h

Issue 177493002: Introduce SynchronizedScope to allow heap access from compiler thread. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months 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
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index b53a83358cd21ac0dfaa431bfa8e3092c960e02a..1466e3e75753bdc9943d70543e46f5b678f9986f 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -45,7 +45,8 @@ enum InterruptFlag {
FULL_DEOPT = 1 << 6,
INSTALL_CODE = 1 << 7,
API_INTERRUPT = 1 << 8,
- DEOPT_MARKED_ALLOCATION_SITES = 1 << 9
+ DEOPT_MARKED_ALLOCATION_SITES = 1 << 9,
+ COMPILER_SYNC = 1 << 10
};
@@ -221,6 +222,8 @@ class StackGuard {
void RequestGC();
bool IsInstallCodeRequest();
void RequestInstallCode();
+ bool IsCompilerSyncRequest();
+ void RequestCompilerSync();
bool IsFullDeopt();
void FullDeopt();
bool IsDeoptMarkedAllocationSites();
« no previous file with comments | « src/compiler.h ('k') | src/execution.cc » ('j') | src/optimizing-compiler-thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698