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

Unified Diff: src/code-stubs.cc

Issue 1347063004: [ic] Introduce BOOLEAN state for CompareIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/code-stubs.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index 06e7a65f2aa768bef39e2d4f8da35e4b293fe7e2..d9df19e1d170b47ea57efd7ea5406233bb0a602b 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -351,6 +351,7 @@ InlineCacheState CompareICStub::GetICState() const {
switch (state) {
case CompareICState::UNINITIALIZED:
return ::v8::internal::UNINITIALIZED;
+ case CompareICState::BOOLEAN:
case CompareICState::SMI:
case CompareICState::NUMBER:
case CompareICState::INTERNALIZED_STRING:
@@ -416,6 +417,9 @@ void CompareICStub::Generate(MacroAssembler* masm) {
case CompareICState::UNINITIALIZED:
GenerateMiss(masm);
break;
+ case CompareICState::BOOLEAN:
+ GenerateBooleans(masm);
+ break;
case CompareICState::SMI:
GenerateSmis(masm);
break;
« no previous file with comments | « src/code-stubs.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698