diff options
Diffstat (limited to 'deps/v8/src/mips/code-stubs-mips.h')
-rw-r--r-- | deps/v8/src/mips/code-stubs-mips.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/deps/v8/src/mips/code-stubs-mips.h b/deps/v8/src/mips/code-stubs-mips.h index e2323c1744..6c70bdd70a 100644 --- a/deps/v8/src/mips/code-stubs-mips.h +++ b/deps/v8/src/mips/code-stubs-mips.h @@ -61,18 +61,11 @@ class TranscendentalCacheStub: public CodeStub { class UnaryOpStub: public CodeStub { public: - UnaryOpStub(Token::Value op, UnaryOverwriteMode mode) + UnaryOpStub(Token::Value op, + UnaryOverwriteMode mode, + UnaryOpIC::TypeInfo operand_type = UnaryOpIC::UNINITIALIZED) : op_(op), mode_(mode), - operand_type_(UnaryOpIC::UNINITIALIZED), - name_(NULL) { - } - - UnaryOpStub( - int key, - UnaryOpIC::TypeInfo operand_type) - : op_(OpBits::decode(key)), - mode_(ModeBits::decode(key)), operand_type_(operand_type), name_(NULL) { } @@ -90,8 +83,7 @@ class UnaryOpStub: public CodeStub { #ifdef DEBUG void Print() { - PrintF("UnaryOpStub %d (op %s), " - "(mode %d, runtime_type_info %s)\n", + PrintF("UnaryOpStub %d (op %s), (mode %d, runtime_type_info %s)\n", MinorKey(), Token::String(op_), static_cast<int>(mode_), |