| Index: src/arm/code-stubs-arm.h
|
| diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h
|
| index 08efecb8a64df2ab9a7b012305f8f71efeece54f..64a0c1864b1393b44690659ce0c768f69212b713 100644
|
| --- a/src/arm/code-stubs-arm.h
|
| +++ b/src/arm/code-stubs-arm.h
|
| @@ -28,7 +28,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; }
|
| };
|
|
|
|
|
| @@ -69,7 +69,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);
|
| };
|
| @@ -100,7 +100,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,
|
| @@ -140,7 +140,7 @@ class WriteInt32ToHeapNumberStub : public PlatformCodeStub {
|
| class ScratchRegisterBits: public BitField<int, 8, 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())
|
| @@ -307,7 +307,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()) |
|
| @@ -348,7 +348,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; }
|
| };
|
| @@ -395,7 +395,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> {};
|
|
|
|
|