Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 1884b56f11bb32f3959469da4a64ecb2bbb574ee..eff0f7f1cd68917b5e80973bbe0b86fc527c2614 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -619,10 +619,8 @@ void ElementsTransitionAndStoreStub::Generate(MacroAssembler* masm) { |
void StubFailureTrampolineStub::GenerateAheadOfTime(Isolate* isolate) { |
- int i = 0; |
- for (; i <= StubFailureTrampolineStub::kMaxExtraExpressionStackCount; ++i) { |
- StubFailureTrampolineStub(i).GetCode(isolate); |
- } |
+ StubFailureTrampolineStub(NOT_JS_FUNCTION_STUB_MODE).GetCode(isolate); |
+ StubFailureTrampolineStub(JS_FUNCTION_STUB_MODE).GetCode(isolate); |
} |