Index: src/mips/code-stubs-mips.h |
diff --git a/src/mips/code-stubs-mips.h b/src/mips/code-stubs-mips.h |
index 41912a447016f6ea748af297e8ac1acf9b076116..91333040223183bec32d1858532e5cb520fb21d9 100644 |
--- a/src/mips/code-stubs-mips.h |
+++ b/src/mips/code-stubs-mips.h |
@@ -29,7 +29,7 @@ class StoreBufferOverflowStub: public PlatformCodeStub { |
SaveFPRegsMode save_doubles_; |
Major MajorKey() const { return StoreBufferOverflow; } |
- int MinorKey() const { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
+ uint32_t MinorKey() const { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
}; |
@@ -70,7 +70,7 @@ class SubStringStub: public PlatformCodeStub { |
private: |
Major MajorKey() const { return SubString; } |
- int MinorKey() const { return 0; } |
+ uint32_t MinorKey() const { return 0; } |
void Generate(MacroAssembler* masm); |
}; |
@@ -84,7 +84,7 @@ class StoreRegistersStateStub: public PlatformCodeStub { |
static void GenerateAheadOfTime(Isolate* isolate); |
private: |
Major MajorKey() const { return StoreRegistersState; } |
- int MinorKey() const { return 0; } |
+ uint32_t MinorKey() const { return 0; } |
void Generate(MacroAssembler* masm); |
}; |
@@ -97,7 +97,7 @@ class RestoreRegistersStateStub: public PlatformCodeStub { |
static void GenerateAheadOfTime(Isolate* isolate); |
private: |
Major MajorKey() const { return RestoreRegistersState; } |
- int MinorKey() const { return 0; } |
+ uint32_t MinorKey() const { return 0; } |
void Generate(MacroAssembler* masm); |
}; |
@@ -126,7 +126,7 @@ class StringCompareStub: public PlatformCodeStub { |
private: |
virtual Major MajorKey() const { return StringCompare; } |
- virtual int MinorKey() const { return 0; } |
+ virtual uint32_t MinorKey() const { return 0; } |
virtual void Generate(MacroAssembler* masm); |
static void GenerateAsciiCharsCompareLoop(MacroAssembler* masm, |
@@ -176,7 +176,7 @@ class WriteInt32ToHeapNumberStub : public PlatformCodeStub { |
class SignRegisterBits: public BitField<int, 12, 4> {}; |
Major MajorKey() const { return WriteInt32ToHeapNumber; } |
- int MinorKey() const { |
+ uint32_t MinorKey() const { |
// Encode the parameters in a unique 16 bit value. |
return IntRegisterBits::encode(the_int_.code()) |
| HeapNumberRegisterBits::encode(the_heap_number_.code()) |
@@ -348,7 +348,7 @@ class RecordWriteStub: public PlatformCodeStub { |
Major MajorKey() const { return RecordWrite; } |
- int MinorKey() const { |
+ uint32_t MinorKey() const { |
return ObjectBits::encode(object_.code()) | |
ValueBits::encode(value_.code()) | |
AddressBits::encode(address_.code()) | |
@@ -389,7 +389,7 @@ class DirectCEntryStub: public PlatformCodeStub { |
private: |
Major MajorKey() const { return DirectCEntry; } |
- int MinorKey() const { return 0; } |
+ uint32_t MinorKey() const { return 0; } |
bool NeedsImmovableCode() { return true; } |
}; |
@@ -436,7 +436,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
Major MajorKey() const { return NameDictionaryLookup; } |
- int MinorKey() const { return LookupModeBits::encode(mode_); } |
+ uint32_t MinorKey() const { return LookupModeBits::encode(mode_); } |
class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |