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

Side by Side Diff: src/interface-descriptors.h

Issue 1224793002: Loads and stores to global vars are now made via property cell shortcuts installed into parent scri… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments Created 5 years, 5 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/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_
6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 V(StringAdd) \ 50 V(StringAdd) \
51 V(Keyed) \ 51 V(Keyed) \
52 V(Named) \ 52 V(Named) \
53 V(CallHandler) \ 53 V(CallHandler) \
54 V(ArgumentAdaptor) \ 54 V(ArgumentAdaptor) \
55 V(ApiFunction) \ 55 V(ApiFunction) \
56 V(ApiAccessor) \ 56 V(ApiAccessor) \
57 V(ApiGetter) \ 57 V(ApiGetter) \
58 V(ArgumentsAccessRead) \ 58 V(ArgumentsAccessRead) \
59 V(StoreArrayLiteralElement) \ 59 V(StoreArrayLiteralElement) \
60 V(LoadGlobalViaContext) \
61 V(StoreGlobalViaContext) \
60 V(MathPowTagged) \ 62 V(MathPowTagged) \
61 V(MathPowInteger) \ 63 V(MathPowInteger) \
62 V(ContextOnly) \ 64 V(ContextOnly) \
63 V(GrowArrayElements) \ 65 V(GrowArrayElements) \
64 V(MathRoundVariant) 66 V(MathRoundVariant)
65 67
66 68
67 class CallInterfaceDescriptorData { 69 class CallInterfaceDescriptorData {
68 public: 70 public:
69 CallInterfaceDescriptorData() 71 CallInterfaceDescriptorData()
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) 420 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor)
419 }; 421 };
420 422
421 423
422 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor { 424 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor {
423 public: 425 public:
424 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) 426 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor)
425 }; 427 };
426 428
427 429
430 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor {
431 public:
432 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalViaContextDescriptor,
433 CallInterfaceDescriptor)
434
435 static const Register DepthRegister();
436 static const Register SlotRegister();
437 static const Register NameRegister();
438 };
439
440
441 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor {
442 public:
443 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor,
444 CallInterfaceDescriptor)
445
446 static const Register DepthRegister();
447 static const Register SlotRegister();
448 static const Register NameRegister();
449 static const Register ValueRegister();
450 };
451
452
428 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { 453 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor {
429 public: 454 public:
430 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) 455 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor)
431 }; 456 };
432 457
433 458
434 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { 459 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor {
435 public: 460 public:
436 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor) 461 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor)
437 }; 462 };
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 } // namespace v8::internal 644 } // namespace v8::internal
620 645
621 646
622 #if V8_TARGET_ARCH_ARM64 647 #if V8_TARGET_ARCH_ARM64
623 #include "src/arm64/interface-descriptors-arm64.h" 648 #include "src/arm64/interface-descriptors-arm64.h"
624 #elif V8_TARGET_ARCH_ARM 649 #elif V8_TARGET_ARCH_ARM
625 #include "src/arm/interface-descriptors-arm.h" 650 #include "src/arm/interface-descriptors-arm.h"
626 #endif 651 #endif
627 652
628 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 653 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698