Index: src/x64/code-stubs-x64.h |
=================================================================== |
--- src/x64/code-stubs-x64.h (revision 8493) |
+++ src/x64/code-stubs-x64.h (working copy) |
@@ -61,18 +61,11 @@ |
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 @@ |
#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_), |