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

Side by Side Diff: src/arm64/interface-descriptors-arm64.cc

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years 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/ast/ast.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #include "src/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 const Register MathPowIntegerDescriptor::exponent() { return x12; } 58 const Register MathPowIntegerDescriptor::exponent() { return x12; }
59 59
60 60
61 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } 61 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; }
62 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } 62 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; }
63 63
64 64
65 void FastNewClosureDescriptor::InitializePlatformSpecific( 65 void FastNewClosureDescriptor::InitializePlatformSpecific(
66 CallInterfaceDescriptorData* data) { 66 CallInterfaceDescriptorData* data) {
67 // x2: function info 67 // x1: function info
68 Register registers[] = {x2}; 68 // x2: feedback vector
69 // x3: slot
70 Register registers[] = {x1, x2, x3};
69 data->InitializePlatformSpecific(arraysize(registers), registers); 71 data->InitializePlatformSpecific(arraysize(registers), registers);
70 } 72 }
71 73
72 void FastNewObjectDescriptor::InitializePlatformSpecific( 74 void FastNewObjectDescriptor::InitializePlatformSpecific(
73 CallInterfaceDescriptorData* data) { 75 CallInterfaceDescriptorData* data) {
74 Register registers[] = {x1, x3}; 76 Register registers[] = {x1, x3};
75 data->InitializePlatformSpecific(arraysize(registers), registers); 77 data->InitializePlatformSpecific(arraysize(registers), registers);
76 } 78 }
77 79
78 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 80 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 x1, // the JSGeneratorObject to resume 464 x1, // the JSGeneratorObject to resume
463 x2 // the resume mode (tagged) 465 x2 // the resume mode (tagged)
464 }; 466 };
465 data->InitializePlatformSpecific(arraysize(registers), registers); 467 data->InitializePlatformSpecific(arraysize(registers), registers);
466 } 468 }
467 469
468 } // namespace internal 470 } // namespace internal
469 } // namespace v8 471 } // namespace v8
470 472
471 #endif // V8_TARGET_ARCH_ARM64 473 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/ast/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698