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

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

Issue 2597163002: Revert of [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: Created 3 years, 12 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/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 // x1: function info 67 // x2: function info
68 // x2: feedback vector 68 Register registers[] = {x2};
69 // x3: slot
70 Register registers[] = {x1, x2, x3};
71 data->InitializePlatformSpecific(arraysize(registers), registers); 69 data->InitializePlatformSpecific(arraysize(registers), registers);
72 } 70 }
73 71
74 void FastNewObjectDescriptor::InitializePlatformSpecific( 72 void FastNewObjectDescriptor::InitializePlatformSpecific(
75 CallInterfaceDescriptorData* data) { 73 CallInterfaceDescriptorData* data) {
76 Register registers[] = {x1, x3}; 74 Register registers[] = {x1, x3};
77 data->InitializePlatformSpecific(arraysize(registers), registers); 75 data->InitializePlatformSpecific(arraysize(registers), registers);
78 } 76 }
79 77
80 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 78 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 x1, // the JSGeneratorObject to resume 462 x1, // the JSGeneratorObject to resume
465 x2 // the resume mode (tagged) 463 x2 // the resume mode (tagged)
466 }; 464 };
467 data->InitializePlatformSpecific(arraysize(registers), registers); 465 data->InitializePlatformSpecific(arraysize(registers), registers);
468 } 466 }
469 467
470 } // namespace internal 468 } // namespace internal
471 } // namespace v8 469 } // namespace v8
472 470
473 #endif // V8_TARGET_ARCH_ARM64 471 #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