Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 8443c704a64130ff08c6327b696455994bb2606a..4e2e46e66c9626ad10e0c90e6e78b525aeb81cdd 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -353,8 +353,8 @@ InlineCacheState CompareICStub::GetICState() const { |
case CompareICState::INTERNALIZED_STRING: |
case CompareICState::STRING: |
case CompareICState::UNIQUE_NAME: |
- case CompareICState::OBJECT: |
- case CompareICState::KNOWN_OBJECT: |
+ case CompareICState::RECEIVER: |
+ case CompareICState::KNOWN_RECEIVER: |
return MONOMORPHIC; |
case CompareICState::GENERIC: |
return ::v8::internal::GENERIC; |
@@ -431,12 +431,12 @@ void CompareICStub::Generate(MacroAssembler* masm) { |
case CompareICState::UNIQUE_NAME: |
GenerateUniqueNames(masm); |
break; |
- case CompareICState::OBJECT: |
- GenerateObjects(masm); |
+ case CompareICState::RECEIVER: |
+ GenerateReceivers(masm); |
break; |
- case CompareICState::KNOWN_OBJECT: |
+ case CompareICState::KNOWN_RECEIVER: |
DCHECK(*known_map_ != NULL); |
- GenerateKnownObjects(masm); |
+ GenerateKnownReceivers(masm); |
break; |
case CompareICState::GENERIC: |
GenerateGeneric(masm); |