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

Side by Side Diff: src/arm64/code-stubs-arm64.cc

Issue 1903723003: [stubs]: Implement ArrayNoArgumentConstructor as a TF stub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 7 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
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/api-arguments.h" 8 #include "src/api-arguments.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 25 matching lines...) Expand all
36 if (constant_stack_parameter_count == 0) { 36 if (constant_stack_parameter_count == 0) {
37 descriptor->Initialize(deopt_handler, constant_stack_parameter_count, 37 descriptor->Initialize(deopt_handler, constant_stack_parameter_count,
38 JS_FUNCTION_STUB_MODE); 38 JS_FUNCTION_STUB_MODE);
39 } else { 39 } else {
40 descriptor->Initialize(x0, deopt_handler, constant_stack_parameter_count, 40 descriptor->Initialize(x0, deopt_handler, constant_stack_parameter_count,
41 JS_FUNCTION_STUB_MODE); 41 JS_FUNCTION_STUB_MODE);
42 } 42 }
43 } 43 }
44 44
45 45
46 void ArrayNoArgumentConstructorStub::InitializeDescriptor(
47 CodeStubDescriptor* descriptor) {
48 InitializeArrayConstructorDescriptor(isolate(), descriptor, 0);
49 }
50
51
52 void ArraySingleArgumentConstructorStub::InitializeDescriptor( 46 void ArraySingleArgumentConstructorStub::InitializeDescriptor(
53 CodeStubDescriptor* descriptor) { 47 CodeStubDescriptor* descriptor) {
54 InitializeArrayConstructorDescriptor(isolate(), descriptor, 1); 48 InitializeArrayConstructorDescriptor(isolate(), descriptor, 1);
55 } 49 }
56 50
57 51
58 void ArrayNArgumentsConstructorStub::InitializeDescriptor( 52 void ArrayNArgumentsConstructorStub::InitializeDescriptor(
59 CodeStubDescriptor* descriptor) { 53 CodeStubDescriptor* descriptor) {
60 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1); 54 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1);
61 } 55 }
(...skipping 5898 matching lines...) Expand 10 before | Expand all | Expand 10 after
5960 kStackUnwindSpace, NULL, spill_offset, 5954 kStackUnwindSpace, NULL, spill_offset,
5961 return_value_operand, NULL); 5955 return_value_operand, NULL);
5962 } 5956 }
5963 5957
5964 #undef __ 5958 #undef __
5965 5959
5966 } // namespace internal 5960 } // namespace internal
5967 } // namespace v8 5961 } // namespace v8
5968 5962
5969 #endif // V8_TARGET_ARCH_ARM64 5963 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698