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

Side by Side Diff: src/arm64/interface-descriptors-arm64.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: 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 const Register MathPowTaggedDescriptor::exponent() { return x11; } 62 const Register MathPowTaggedDescriptor::exponent() { return x11; }
63 63
64 64
65 const Register MathPowIntegerDescriptor::exponent() { return x12; } 65 const Register MathPowIntegerDescriptor::exponent() { return x12; }
66 66
67 67
68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; }
69 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; }
70 70
71 const Register HasPropertyDescriptor::ObjectRegister() { return x0; }
72 const Register HasPropertyDescriptor::KeyRegister() { return x3; }
71 73
72 void FastNewClosureDescriptor::InitializePlatformSpecific( 74 void FastNewClosureDescriptor::InitializePlatformSpecific(
73 CallInterfaceDescriptorData* data) { 75 CallInterfaceDescriptorData* data) {
74 // x2: function info 76 // x2: function info
75 Register registers[] = {x2}; 77 Register registers[] = {x2};
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(
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 x1, // the typedarray object 485 x1, // the typedarray object
484 x0 // the index to load (untagged) 486 x0 // the index to load (untagged)
485 }; 487 };
486 data->InitializePlatformSpecific(arraysize(registers), registers); 488 data->InitializePlatformSpecific(arraysize(registers), registers);
487 } 489 }
488 490
489 } // namespace internal 491 } // namespace internal
490 } // namespace v8 492 } // namespace v8
491 493
492 #endif // V8_TARGET_ARCH_ARM64 494 #endif // V8_TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698