Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index d707b72059599663414fb8a459725ee7db674f94..009d6a1ac45ff3b0bf39ac795b0f67d30f126c34 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -236,12 +236,15 @@ class CallICBase: public IC { |
static void Clear(Address address, Code* target); |
- // Platform-specific generation of misses for call and keyed call. |
+ // Platform-specific code generation functions used by both call and |
+ // keyed call. |
static void GenerateMiss(MacroAssembler* masm, |
int argc, |
IC::UtilityId id, |
Code::ExtraICState extra_state); |
+ static void GenerateNormal(MacroAssembler* masm, int argc); |
+ |
Code::Kind kind_; |
friend class IC; |
@@ -271,7 +274,10 @@ class CallIC: public CallICBase { |
int argc, |
Code::ExtraICState extra_ic_state); |
- static void GenerateNormal(MacroAssembler* masm, int argc); |
+ static void GenerateNormal(MacroAssembler* masm, int argc) { |
+ CallICBase::GenerateNormal(masm, argc); |
+ GenerateMiss(masm, argc, Code::kNoExtraICState); |
+ } |
}; |