diff options
Diffstat (limited to 'deps/v8/src/x87/lithium-codegen-x87.h')
-rw-r--r-- | deps/v8/src/x87/lithium-codegen-x87.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/deps/v8/src/x87/lithium-codegen-x87.h b/deps/v8/src/x87/lithium-codegen-x87.h index 2f4a8d3111..6b191b96ee 100644 --- a/deps/v8/src/x87/lithium-codegen-x87.h +++ b/deps/v8/src/x87/lithium-codegen-x87.h @@ -160,7 +160,7 @@ class LCodeGen: public LCodeGenBase { #undef DECLARE_DO private: - StrictMode strict_mode() const { return info()->strict_mode(); } + LanguageMode language_mode() const { return info()->language_mode(); } Scope* scope() const { return scope_; } @@ -218,27 +218,22 @@ class LCodeGen: public LCodeGenBase { void LoadContextFromDeferred(LOperand* context); - enum EDIState { - EDI_UNINITIALIZED, - EDI_CONTAINS_TARGET - }; - // Generate a direct call to a known function. Expects the function // to be in edi. void CallKnownFunction(Handle<JSFunction> function, - int formal_parameter_count, - int arity, - LInstruction* instr, - EDIState edi_state); + int formal_parameter_count, int arity, + LInstruction* instr); void RecordSafepointWithLazyDeopt(LInstruction* instr, SafepointMode safepoint_mode); void RegisterEnvironmentForDeoptimization(LEnvironment* environment, Safepoint::DeoptMode mode); - void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, + void DeoptimizeIf(Condition cc, LInstruction* instr, + Deoptimizer::DeoptReason deopt_reason, Deoptimizer::BailoutType bailout_type); - void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail); + void DeoptimizeIf(Condition cc, LInstruction* instr, + Deoptimizer::DeoptReason deopt_reason); bool DeoptEveryNTimes() { return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); @@ -413,6 +408,7 @@ class LCodeGen: public LCodeGenBase { int st(X87Register reg) { return st2idx(ArrayIndex(reg)); } void pop() { DCHECK(is_mutable_); + USE(is_mutable_); stack_depth_--; } void push(X87Register reg) { |