| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index e76bed3c03a5ab36f839eb9e3ec19c745cd4b813..166d46d911ef3a78fcf9e5d5f8c4205cc7d232d9 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -43,13 +43,20 @@ 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),
|
| + handler_arguments_mode_(DONT_PASS_ARGUMENTS),
|
| miss_handler_(),
|
| 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());
|
| @@ -957,7 +964,8 @@ void JSEntryStub::FinishCode(Handle<Code> code) {
|
| }
|
|
|
|
|
| -void KeyedLoadDictionaryElementStub::Generate(MacroAssembler* masm) {
|
| +void KeyedLoadDictionaryElementPlatformStub::Generate(
|
| + MacroAssembler* masm) {
|
| KeyedLoadStubCompiler::GenerateLoadDictionaryElement(masm);
|
| }
|
|
|
| @@ -1108,6 +1116,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) {
|
|
|