| Index: src/code-stubs.h
|
| ===================================================================
|
| --- src/code-stubs.h (revision 7711)
|
| +++ src/code-stubs.h (working copy)
|
| @@ -389,54 +389,6 @@
|
| };
|
|
|
|
|
| -enum NegativeZeroHandling {
|
| - kStrictNegativeZero,
|
| - kIgnoreNegativeZero
|
| -};
|
| -
|
| -
|
| -enum UnaryOpFlags {
|
| - NO_UNARY_FLAGS = 0,
|
| - NO_UNARY_SMI_CODE_IN_STUB = 1 << 0
|
| -};
|
| -
|
| -
|
| -class GenericUnaryOpStub : public CodeStub {
|
| - public:
|
| - GenericUnaryOpStub(Token::Value op,
|
| - UnaryOverwriteMode overwrite,
|
| - UnaryOpFlags flags,
|
| - NegativeZeroHandling negative_zero = kStrictNegativeZero)
|
| - : op_(op),
|
| - overwrite_(overwrite),
|
| - include_smi_code_((flags & NO_UNARY_SMI_CODE_IN_STUB) == 0),
|
| - negative_zero_(negative_zero) { }
|
| -
|
| - private:
|
| - Token::Value op_;
|
| - UnaryOverwriteMode overwrite_;
|
| - bool include_smi_code_;
|
| - NegativeZeroHandling negative_zero_;
|
| -
|
| - class OverwriteField: public BitField<UnaryOverwriteMode, 0, 1> {};
|
| - class IncludeSmiCodeField: public BitField<bool, 1, 1> {};
|
| - class NegativeZeroField: public BitField<NegativeZeroHandling, 2, 1> {};
|
| - class OpField: public BitField<Token::Value, 3, kMinorBits - 3> {};
|
| -
|
| - Major MajorKey() { return GenericUnaryOp; }
|
| - int MinorKey() {
|
| - return OpField::encode(op_) |
|
| - OverwriteField::encode(overwrite_) |
|
| - IncludeSmiCodeField::encode(include_smi_code_) |
|
| - NegativeZeroField::encode(negative_zero_);
|
| - }
|
| -
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| - const char* GetName();
|
| -};
|
| -
|
| -
|
| class MathPowStub: public CodeStub {
|
| public:
|
| MathPowStub() {}
|
|
|