| Index: src/x64/code-stubs-x64.h
|
| diff --git a/src/x64/code-stubs-x64.h b/src/x64/code-stubs-x64.h
|
| index a020ce5a48e09688723c99d51abc82c50d0d1609..0732a933e6e5d8e65a9732315d1030fd709e8b57 100644
|
| --- a/src/x64/code-stubs-x64.h
|
| +++ b/src/x64/code-stubs-x64.h
|
| @@ -27,7 +27,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; }
|
| };
|
|
|
|
|
| @@ -67,7 +67,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);
|
| };
|
| @@ -96,7 +96,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(
|
| @@ -158,7 +158,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
|
|
|
| Major MajorKey() const { return NameDictionaryLookup; }
|
|
|
| - int MinorKey() const {
|
| + uint32_t MinorKey() const {
|
| return DictionaryBits::encode(dictionary_.code()) |
|
| ResultBits::encode(result_.code()) |
|
| IndexBits::encode(index_.code()) |
|
| @@ -389,7 +389,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()) |
|
|
|