Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: src/ia32/code-stubs-ia32.h

Issue 502713003: Encode CEntryStub properties in the minor key. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: encode Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/code-stubs-ia32.h
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h
index d0d521621f46b8c5011c4c049df2494642846f8f..8ee0a92d16bc9d89d017ee237c1fd6765f379a01 100644
--- a/src/ia32/code-stubs-ia32.h
+++ b/src/ia32/code-stubs-ia32.h
@@ -30,7 +30,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);
};
@@ -98,7 +98,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(
@@ -157,7 +157,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()) |
@@ -406,7 +406,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()) |
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698