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

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: 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/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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 64
65 const Register MathPowIntegerDescriptor::exponent() { 65 const Register MathPowIntegerDescriptor::exponent() {
66 return MathPowTaggedDescriptor::exponent(); 66 return MathPowTaggedDescriptor::exponent();
67 } 67 }
68 68
69 69
70 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } 70 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; }
71 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } 71 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; }
72 72
73 const Register HasPropertyDescriptor::ObjectRegister() { return r0; }
Toon Verwaest 2016/04/20 10:00:04 We're probably at the point where we should just h
Igor Sheludko 2016/04/20 13:14:56 Good idea!
74 const Register HasPropertyDescriptor::KeyRegister() { return r3; }
73 75
74 void FastNewClosureDescriptor::InitializePlatformSpecific( 76 void FastNewClosureDescriptor::InitializePlatformSpecific(
75 CallInterfaceDescriptorData* data) { 77 CallInterfaceDescriptorData* data) {
76 Register registers[] = {r2}; 78 Register registers[] = {r2};
77 data->InitializePlatformSpecific(arraysize(registers), registers); 79 data->InitializePlatformSpecific(arraysize(registers), registers);
78 } 80 }
79 81
80 82
81 void FastNewContextDescriptor::InitializePlatformSpecific( 83 void FastNewContextDescriptor::InitializePlatformSpecific(
82 CallInterfaceDescriptorData* data) { 84 CallInterfaceDescriptorData* data) {
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 r1, // the typedarray object 453 r1, // the typedarray object
452 r0 // the index to load (untagged) 454 r0 // the index to load (untagged)
453 }; 455 };
454 data->InitializePlatformSpecific(arraysize(registers), registers); 456 data->InitializePlatformSpecific(arraysize(registers), registers);
455 } 457 }
456 458
457 } // namespace internal 459 } // namespace internal
458 } // namespace v8 460 } // namespace v8
459 461
460 #endif // V8_TARGET_ARCH_ARM 462 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | src/full-codegen/s390/full-codegen-s390.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698