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

Side by Side Diff: src/s390/interface-descriptors-s390.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 const Register MathPowTaggedDescriptor::exponent() { return r4; } 47 const Register MathPowTaggedDescriptor::exponent() { return r4; }
48 48
49 const Register MathPowIntegerDescriptor::exponent() { 49 const Register MathPowIntegerDescriptor::exponent() {
50 return MathPowTaggedDescriptor::exponent(); 50 return MathPowTaggedDescriptor::exponent();
51 } 51 }
52 52
53 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r2; } 53 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r2; }
54 const Register GrowArrayElementsDescriptor::KeyRegister() { return r5; } 54 const Register GrowArrayElementsDescriptor::KeyRegister() { return r5; }
55 55
56 const Register HasPropertyDescriptor::ObjectRegister() { return r2; }
57 const Register HasPropertyDescriptor::KeyRegister() { return r5; }
58
56 void FastNewClosureDescriptor::InitializePlatformSpecific( 59 void FastNewClosureDescriptor::InitializePlatformSpecific(
57 CallInterfaceDescriptorData* data) { 60 CallInterfaceDescriptorData* data) {
58 Register registers[] = {r4}; 61 Register registers[] = {r4};
59 data->InitializePlatformSpecific(arraysize(registers), registers); 62 data->InitializePlatformSpecific(arraysize(registers), registers);
60 } 63 }
61 64
62 void FastNewContextDescriptor::InitializePlatformSpecific( 65 void FastNewContextDescriptor::InitializePlatformSpecific(
63 CallInterfaceDescriptorData* data) { 66 CallInterfaceDescriptorData* data) {
64 Register registers[] = {r3}; 67 Register registers[] = {r3};
65 data->InitializePlatformSpecific(arraysize(registers), registers); 68 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 Register registers[] = { 385 Register registers[] = {
383 r3, // the typedarray object 386 r3, // the typedarray object
384 r2 // the index to load (untagged) 387 r2 // the index to load (untagged)
385 }; 388 };
386 data->InitializePlatformSpecific(arraysize(registers), registers); 389 data->InitializePlatformSpecific(arraysize(registers), registers);
387 } 390 }
388 } // namespace internal 391 } // namespace internal
389 } // namespace v8 392 } // namespace v8
390 393
391 #endif // V8_TARGET_ARCH_S390 394 #endif // V8_TARGET_ARCH_S390
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698