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

Unified Diff: src/compiler.h

Issue 21340002: Generate a custom OSR entrypoint for OSR compiles on all platforms, and transition to optimized cod… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remerge with recent changes. Created 7 years, 3 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/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 65618dda8e2d7c4b749b9bcda88592d7d8ba557e..f09a86ddb70ec342ae004ca91908dfd4648b7379 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -63,7 +63,8 @@ class CompilationInfo {
Isolate* isolate() const {
return isolate_;
}
- Zone* zone() const { return zone_; }
+ Zone* zone() { return zone_; }
+ bool is_osr() const { return !osr_ast_id_.IsNone(); }
bool is_lazy() const { return IsLazy::decode(flags_); }
bool is_eval() const { return IsEval::decode(flags_); }
bool is_global() const { return IsGlobal::decode(flags_); }
@@ -626,9 +627,9 @@ class Compiler : public AllStatic {
static bool InstallOptimizedCode(OptimizingCompiler* info);
- static BailoutId CompileForOnStackReplacement(Handle<JSFunction> function);
+ static Handle<Code> CompileForOnStackReplacement(Handle<JSFunction> function);
- static BailoutId CompileForConcurrentOSR(Handle<JSFunction> function);
+ static Handle<Code> CompileForConcurrentOSR(Handle<JSFunction> function);
#ifdef ENABLE_DEBUGGER_SUPPORT
static bool MakeCodeForLiveEdit(CompilationInfo* info);
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/compiler.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698