Index: src/mips64/code-stubs-mips64.h |
diff --git a/src/mips64/code-stubs-mips64.h b/src/mips64/code-stubs-mips64.h |
index 6c324bb85c7766d03902217a5f23c354c3b8ea5c..3cd6ed6a2d8278f582b1f1abf8c34bae0fcc50ea 100644 |
--- a/src/mips64/code-stubs-mips64.h |
+++ b/src/mips64/code-stubs-mips64.h |
@@ -73,56 +73,6 @@ class RestoreRegistersStateStub: public PlatformCodeStub { |
DEFINE_PLATFORM_CODE_STUB(RestoreRegistersState, PlatformCodeStub); |
}; |
-// This stub can convert a signed int32 to a heap number (double). It does |
-// not work for int32s that are in Smi range! No GC occurs during this stub |
-// so you don't have to set up the frame. |
-class WriteInt32ToHeapNumberStub : public PlatformCodeStub { |
- public: |
- WriteInt32ToHeapNumberStub(Isolate* isolate, Register the_int, |
- Register the_heap_number, Register scratch, |
- Register scratch2) |
- : PlatformCodeStub(isolate) { |
- minor_key_ = IntRegisterBits::encode(the_int.code()) | |
- HeapNumberRegisterBits::encode(the_heap_number.code()) | |
- ScratchRegisterBits::encode(scratch.code()) | |
- SignRegisterBits::encode(scratch2.code()); |
- DCHECK(IntRegisterBits::is_valid(the_int.code())); |
- DCHECK(HeapNumberRegisterBits::is_valid(the_heap_number.code())); |
- DCHECK(ScratchRegisterBits::is_valid(scratch.code())); |
- DCHECK(SignRegisterBits::is_valid(scratch2.code())); |
- } |
- |
- static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate); |
- |
- private: |
- void Generate(MacroAssembler* masm); |
- |
- Register the_int() const { |
- return Register::from_code(IntRegisterBits::decode(minor_key_)); |
- } |
- |
- Register the_heap_number() const { |
- return Register::from_code(HeapNumberRegisterBits::decode(minor_key_)); |
- } |
- |
- Register scratch() const { |
- return Register::from_code(ScratchRegisterBits::decode(minor_key_)); |
- } |
- |
- Register sign() const { |
- return Register::from_code(SignRegisterBits::decode(minor_key_)); |
- } |
- |
- // Minor key encoding in 16 bits. |
- class IntRegisterBits: public BitField<int, 0, 4> {}; |
- class HeapNumberRegisterBits: public BitField<int, 4, 4> {}; |
- class ScratchRegisterBits: public BitField<int, 8, 4> {}; |
- class SignRegisterBits: public BitField<int, 12, 4> {}; |
- |
- DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); |
- DEFINE_CODE_STUB(WriteInt32ToHeapNumber, PlatformCodeStub); |
-}; |
- |
class RecordWriteStub: public PlatformCodeStub { |
public: |