Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 30b1b85668c2ede4e6b2fd1c883ff1cca6190756..ce1c33fd6ea50e4783d6c2abe85ba6c476459aba 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1214,6 +1214,8 @@ class MaybeObject BASE_EMBEDDED { |
V(kNonSmiValue, "Non-smi value") \ |
V(kNotEnoughVirtualRegistersForValues, \ |
"not enough virtual registers for values") \ |
+ V(kNotEnoughSpillSlotsForOsr, \ |
+ "not enough spill slots for OSR") \ |
V(kNotEnoughVirtualRegistersRegalloc, \ |
"not enough virtual registers (regalloc)") \ |
V(kObjectFoundInSmiOnlyArray, "object found in smi-only array") \ |
@@ -6976,8 +6978,10 @@ class JSFunction: public JSObject { |
ClearExceptionFlag flag); |
static bool CompileLazy(Handle<JSFunction> function, |
ClearExceptionFlag flag); |
+ static Handle<Code> CompileOsr(Handle<JSFunction> function, |
+ BailoutId osr_ast_id, |
+ ClearExceptionFlag flag); |
static bool CompileOptimized(Handle<JSFunction> function, |
- BailoutId osr_ast_id, |
ClearExceptionFlag flag); |
// Tells whether or not the function is already marked for lazy |