diff options
Diffstat (limited to 'deps/v8/src/mips/code-stubs-mips.h')
-rw-r--r-- | deps/v8/src/mips/code-stubs-mips.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/deps/v8/src/mips/code-stubs-mips.h b/deps/v8/src/mips/code-stubs-mips.h index 3a84644a1..ec7d14798 100644 --- a/deps/v8/src/mips/code-stubs-mips.h +++ b/deps/v8/src/mips/code-stubs-mips.h @@ -212,11 +212,13 @@ class StringHelper : public AllStatic { // Flag that indicates how to generate code for the stub StringAddStub. enum StringAddFlags { - NO_STRING_ADD_FLAGS = 0, + NO_STRING_ADD_FLAGS = 1 << 0, // Omit left string check in stub (left is definitely a string). - NO_STRING_CHECK_LEFT_IN_STUB = 1 << 0, + NO_STRING_CHECK_LEFT_IN_STUB = 1 << 1, // Omit right string check in stub (right is definitely a string). - NO_STRING_CHECK_RIGHT_IN_STUB = 1 << 1, + NO_STRING_CHECK_RIGHT_IN_STUB = 1 << 2, + // Stub needs a frame before calling the runtime + ERECT_FRAME = 1 << 3, // Omit both string checks in stub. NO_STRING_CHECK_IN_STUB = NO_STRING_CHECK_LEFT_IN_STUB | NO_STRING_CHECK_RIGHT_IN_STUB @@ -242,6 +244,9 @@ class StringAddStub: public PlatformCodeStub { Register scratch4, Label* slow); + void GenerateRegisterArgsPush(MacroAssembler* masm); + void GenerateRegisterArgsPop(MacroAssembler* masm); + const StringAddFlags flags_; }; |