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

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

Issue 1238143002: [stubs] Optimize LoadGlobalViaContextStub and StoreGlobalViaContextStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ARM typo. Created 5 years, 4 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 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 public: 416 public:
417 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) 417 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor)
418 }; 418 };
419 419
420 420
421 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor { 421 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor {
422 public: 422 public:
423 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalViaContextDescriptor, 423 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalViaContextDescriptor,
424 CallInterfaceDescriptor) 424 CallInterfaceDescriptor)
425 425
426 static const Register DepthRegister();
427 static const Register SlotRegister(); 426 static const Register SlotRegister();
428 static const Register NameRegister(); 427 static const Register NameRegister();
429 }; 428 };
430 429
431 430
432 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor { 431 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor {
433 public: 432 public:
434 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor, 433 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor,
435 CallInterfaceDescriptor) 434 CallInterfaceDescriptor)
436 435
437 static const Register DepthRegister();
438 static const Register SlotRegister(); 436 static const Register SlotRegister();
439 static const Register NameRegister(); 437 static const Register NameRegister();
440 static const Register ValueRegister(); 438 static const Register ValueRegister();
441 }; 439 };
442 440
443 441
444 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { 442 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor {
445 public: 443 public:
446 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) 444 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor)
447 }; 445 };
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 } // namespace v8::internal 643 } // namespace v8::internal
646 644
647 645
648 #if V8_TARGET_ARCH_ARM64 646 #if V8_TARGET_ARCH_ARM64
649 #include "src/arm64/interface-descriptors-arm64.h" 647 #include "src/arm64/interface-descriptors-arm64.h"
650 #elif V8_TARGET_ARCH_ARM 648 #elif V8_TARGET_ARCH_ARM
651 #include "src/arm/interface-descriptors-arm.h" 649 #include "src/arm/interface-descriptors-arm.h"
652 #endif 650 #endif
653 651
654 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 652 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698