| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index f6e880f61062e4f6286d48089d83d77812b89f55..c37c56e4f75b6c0bb2faa7fa70f00e055ebe3c16 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -43,6 +43,7 @@ CodeStubInterfaceDescriptor::CodeStubInterfaceDescriptor()
|
| : register_param_count_(-1),
|
| stack_parameter_count_(no_reg),
|
| hint_stack_parameter_count_(-1),
|
| + continuation_type_(NORMAL_CONTINUATION),
|
| function_mode_(NOT_JS_FUNCTION_STUB_MODE),
|
| register_params_(NULL),
|
| deoptimization_handler_(NULL),
|
| @@ -51,6 +52,11 @@ CodeStubInterfaceDescriptor::CodeStubInterfaceDescriptor()
|
| has_miss_handler_(false) { }
|
|
|
|
|
| +void CodeStub::GenerateStubsRequiringBuiltinsAheadOfTime(Isolate* isolate) {
|
| + StubFailureTailCallTrampolineStub::GenerateAheadOfTime(isolate);
|
| +}
|
| +
|
| +
|
| bool CodeStub::FindCodeInCache(Code** code_out, Isolate* isolate) {
|
| UnseededNumberDictionary* stubs = isolate->heap()->code_stubs();
|
| int index = stubs->FindEntry(GetKey());
|
| @@ -1109,6 +1115,12 @@ void StubFailureTrampolineStub::GenerateAheadOfTime(Isolate* isolate) {
|
| }
|
|
|
|
|
| +void StubFailureTailCallTrampolineStub::GenerateAheadOfTime(Isolate* isolate) {
|
| + StubFailureTailCallTrampolineStub stub;
|
| + stub.GetCode(isolate)->set_is_pregenerated(true);
|
| +}
|
| +
|
| +
|
| void ProfileEntryHookStub::EntryHookTrampoline(intptr_t function,
|
| intptr_t stack_pointer,
|
| Isolate* isolate) {
|
|
|