Index: src/codegen.cc |
=================================================================== |
--- src/codegen.cc (revision 5015) |
+++ src/codegen.cc (working copy) |
@@ -460,11 +460,17 @@ |
const char* GenericUnaryOpStub::GetName() { |
switch (op_) { |
case Token::SUB: |
- return overwrite_ |
- ? "GenericUnaryOpStub_SUB_Overwrite" |
- : "GenericUnaryOpStub_SUB_Alloc"; |
+ if (negative_zero_ == kStrictNegativeZero) { |
+ return overwrite_ == UNARY_OVERWRITE |
+ ? "GenericUnaryOpStub_SUB_Overwrite_Strict0" |
+ : "GenericUnaryOpStub_SUB_Alloc_Strict0"; |
+ } else { |
+ return overwrite_ == UNARY_OVERWRITE |
+ ? "GenericUnaryOpStub_SUB_Overwrite_Ignore0" |
+ : "GenericUnaryOpStub_SUB_Alloc_Ignore0"; |
+ } |
case Token::BIT_NOT: |
- return overwrite_ |
+ return overwrite_ == UNARY_OVERWRITE |
? "GenericUnaryOpStub_BIT_NOT_Overwrite" |
: "GenericUnaryOpStub_BIT_NOT_Alloc"; |
default: |