diff options
Diffstat (limited to 'deps/v8/src/mips64/lithium-mips64.h')
-rw-r--r-- | deps/v8/src/mips64/lithium-mips64.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/deps/v8/src/mips64/lithium-mips64.h b/deps/v8/src/mips64/lithium-mips64.h index b89a9c4dd3..afc84efb8f 100644 --- a/deps/v8/src/mips64/lithium-mips64.h +++ b/deps/v8/src/mips64/lithium-mips64.h @@ -1901,20 +1901,26 @@ class LInvokeFunction FINAL : public LTemplateInstruction<1, 2, 0> { }; -class LCallFunction FINAL : public LTemplateInstruction<1, 2, 0> { +class LCallFunction FINAL : public LTemplateInstruction<1, 2, 2> { public: - LCallFunction(LOperand* context, LOperand* function) { + LCallFunction(LOperand* context, LOperand* function, LOperand* slot, + LOperand* vector) { inputs_[0] = context; inputs_[1] = function; + temps_[0] = slot; + temps_[1] = vector; } LOperand* context() { return inputs_[0]; } LOperand* function() { return inputs_[1]; } + LOperand* temp_slot() { return temps_[0]; } + LOperand* temp_vector() { return temps_[1]; } DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function") DECLARE_HYDROGEN_ACCESSOR(CallFunction) int arity() const { return hydrogen()->argument_count() - 1; } + void PrintDataTo(StringStream* stream) OVERRIDE; }; @@ -2171,7 +2177,7 @@ class LStoreNamedGeneric FINAL : public LTemplateInstruction<0, 3, 0> { void PrintDataTo(StringStream* stream) OVERRIDE; Handle<Object> name() const { return hydrogen()->name(); } - StrictMode strict_mode() { return hydrogen()->strict_mode(); } + LanguageMode language_mode() { return hydrogen()->language_mode(); } }; @@ -2228,7 +2234,7 @@ class LStoreKeyedGeneric FINAL : public LTemplateInstruction<0, 4, 0> { void PrintDataTo(StringStream* stream) OVERRIDE; - StrictMode strict_mode() { return hydrogen()->strict_mode(); } + LanguageMode language_mode() { return hydrogen()->language_mode(); } }; |