| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index 8fd96a69be214082de9b8ec77a82ef4cbe20d87d..97b9e673217c46709a4866893ce65a44e2efc55a 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.
|
| @@ -799,9 +799,11 @@ 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 +813,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
|
|
|