Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index 8fd96a69be214082de9b8ec77a82ef4cbe20d87d..4715f0e2f987c307b67789163a72b7ea8b6c45f1 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -62,7 +62,7 @@ namespace internal { |
ICU(CompareIC_Miss) \ |
ICU(CompareNilIC_Miss) \ |
ICU(Unreachable) \ |
- ICU(ToBoolean_Patch) |
+ ICU(ToBooleanIC_Miss) |
// |
// IC is the base class for LoadIC, StoreIC, CallIC, KeyedLoadIC, |
// and KeyedStoreIC. |
@@ -789,8 +789,6 @@ class CompareNilIC: public IC { |
static void Clear(Address address, Code* target); |
- void patch(Code* code); |
- |
static MUST_USE_RESULT MaybeObject* DoCompareNilSlow(EqualityKind kind, |
NilValue nil, |
Handle<Object> object); |
@@ -799,9 +797,9 @@ class CompareNilIC: public IC { |
class ToBooleanIC: public IC { |
public: |
- explicit ToBooleanIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { } |
+ explicit ToBooleanIC(Isolate* isolate) : IC(EXTRA_CALL_FRAME, isolate) { } |
- void patch(Code* code); |
+ MaybeObject* ToBoolean(Handle<Object> object, Code::ExtraICState state); |
}; |
@@ -811,8 +809,8 @@ void PatchInlinedSmiCode(Address address, InlinedSmiCheck check); |
DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure); |
DECLARE_RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_MissFromStubFailure); |
-DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_MissLight); |
DECLARE_RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss); |
+DECLARE_RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss); |
} } // namespace v8::internal |