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

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

Issue 1894953004: Add HasProperty code stub that tries simple lookups or jumps to runtime otherwise. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 years, 8 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 | « no previous file | 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 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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 63
64 const Register MathPowIntegerDescriptor::exponent() { 64 const Register MathPowIntegerDescriptor::exponent() {
65 return MathPowTaggedDescriptor::exponent(); 65 return MathPowTaggedDescriptor::exponent();
66 } 66 }
67 67
68 68
69 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } 69 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; }
70 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } 70 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; }
71 71
72 const Register HasPropertyDescriptor::ObjectRegister() { return r0; }
73 const Register HasPropertyDescriptor::KeyRegister() { return r3; }
72 74
73 void FastNewClosureDescriptor::InitializePlatformSpecific( 75 void FastNewClosureDescriptor::InitializePlatformSpecific(
74 CallInterfaceDescriptorData* data) { 76 CallInterfaceDescriptorData* data) {
75 Register registers[] = {r2}; 77 Register registers[] = {r2};
76 data->InitializePlatformSpecific(arraysize(registers), registers); 78 data->InitializePlatformSpecific(arraysize(registers), registers);
77 } 79 }
78 80
79 81
80 void FastNewContextDescriptor::InitializePlatformSpecific( 82 void FastNewContextDescriptor::InitializePlatformSpecific(
81 CallInterfaceDescriptorData* data) { 83 CallInterfaceDescriptorData* data) {
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 r1, // the JSGeneratorObject to resume 447 r1, // the JSGeneratorObject to resume
446 r2 // the resume mode (tagged) 448 r2 // the resume mode (tagged)
447 }; 449 };
448 data->InitializePlatformSpecific(arraysize(registers), registers); 450 data->InitializePlatformSpecific(arraysize(registers), registers);
449 } 451 }
450 452
451 } // namespace internal 453 } // namespace internal
452 } // namespace v8 454 } // namespace v8
453 455
454 #endif // V8_TARGET_ARCH_ARM 456 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698