Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: src/ic/x64/ic-compiler-x64.cc

Issue 1553703002: [runtime] TailCallRuntime and CallRuntime should use default argument counts (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-12-29_TailCallRuntime_default_result_size_1_1550923002
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/ic/ic.h" 7 #include "src/ic/ic.h"
8 #include "src/ic/ic-compiler.h" 8 #include "src/ic/ic-compiler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 10 matching lines...) Expand all
21 !rbx.is(StoreDescriptor::ValueRegister())); 21 !rbx.is(StoreDescriptor::ValueRegister()));
22 22
23 __ PopReturnAddressTo(rbx); 23 __ PopReturnAddressTo(rbx);
24 __ Push(StoreDescriptor::ReceiverRegister()); 24 __ Push(StoreDescriptor::ReceiverRegister());
25 __ Push(StoreDescriptor::NameRegister()); 25 __ Push(StoreDescriptor::NameRegister());
26 __ Push(StoreDescriptor::ValueRegister()); 26 __ Push(StoreDescriptor::ValueRegister());
27 __ Push(Smi::FromInt(language_mode)); 27 __ Push(Smi::FromInt(language_mode));
28 __ PushReturnAddressFrom(rbx); 28 __ PushReturnAddressFrom(rbx);
29 29
30 // Do tail-call to runtime routine. 30 // Do tail-call to runtime routine.
31 __ TailCallRuntime(Runtime::kSetProperty, 4); 31 __ TailCallRuntime(Runtime::kSetProperty);
32 } 32 }
33 33
34 34
35 #undef __ 35 #undef __
36 } // namespace internal 36 } // namespace internal
37 } // namespace v8 37 } // namespace v8
38 38
39 #endif // V8_TARGET_ARCH_X64 39 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698