| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 63f2ffa9d9d18b3344b2bd6f32c5acd748acbc35..14e9793db80c9f0ee02a9bad72d06bdb5a654f98 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -824,6 +824,32 @@ Handle<Code> LoadIC::initialize_stub(Isolate* isolate,
|
| }
|
|
|
|
|
| +Handle<Code> LoadIC::initialize_stub_in_optimized_code(
|
| + Isolate* isolate, ExtraICState extra_state) {
|
| + if (FLAG_vector_ics) {
|
| + return VectorLoadStub(isolate, LoadICState(extra_state)).GetCode();
|
| + }
|
| + return initialize_stub(isolate, extra_state);
|
| +}
|
| +
|
| +
|
| +Handle<Code> KeyedLoadIC::initialize_stub(Isolate* isolate) {
|
| + if (FLAG_vector_ics) {
|
| + return KeyedLoadICTrampolineStub(isolate).GetCode();
|
| + }
|
| +
|
| + return isolate->builtins()->KeyedLoadIC_Initialize();
|
| +}
|
| +
|
| +
|
| +Handle<Code> KeyedLoadIC::initialize_stub_in_optimized_code(Isolate* isolate) {
|
| + if (FLAG_vector_ics) {
|
| + return VectorKeyedLoadStub(isolate).GetCode();
|
| + }
|
| + return initialize_stub(isolate);
|
| +}
|
| +
|
| +
|
| Handle<Code> LoadIC::megamorphic_stub() {
|
| if (kind() == Code::LOAD_IC) {
|
| MegamorphicLoadStub stub(isolate(), LoadICState(extra_ic_state()));
|
|
|