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; |