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); |