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

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: ia32 port. small x64 beautification. 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
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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 public: 426 public:
427 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) 427 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor)
428 }; 428 };
429 429
430 430
431 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor { 431 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor {
432 public: 432 public:
433 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalViaContextDescriptor, 433 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalViaContextDescriptor,
434 CallInterfaceDescriptor) 434 CallInterfaceDescriptor)
435 435
436 static const Register DepthRegister();
437 static const Register SlotRegister(); 436 static const Register SlotRegister();
438 static const Register NameRegister(); 437 static const Register NameRegister();
439 }; 438 };
440 439
441 440
442 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor { 441 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor {
443 public: 442 public:
444 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor, 443 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor,
445 CallInterfaceDescriptor) 444 CallInterfaceDescriptor)
446 445
447 static const Register DepthRegister(); 446 static const Register DepthRegister();
Igor Sheludko 2015/07/18 20:52:43 Remove this too.
Benedikt Meurer 2015/07/24 05:18:29 Done.
448 static const Register SlotRegister(); 447 static const Register SlotRegister();
449 static const Register NameRegister(); 448 static const Register NameRegister();
450 static const Register ValueRegister(); 449 static const Register ValueRegister();
451 }; 450 };
452 451
453 452
454 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { 453 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor {
455 public: 454 public:
456 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) 455 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor)
457 }; 456 };
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 } // namespace v8::internal 654 } // namespace v8::internal
656 655
657 656
658 #if V8_TARGET_ARCH_ARM64 657 #if V8_TARGET_ARCH_ARM64
659 #include "src/arm64/interface-descriptors-arm64.h" 658 #include "src/arm64/interface-descriptors-arm64.h"
660 #elif V8_TARGET_ARCH_ARM 659 #elif V8_TARGET_ARCH_ARM
661 #include "src/arm/interface-descriptors-arm.h" 660 #include "src/arm/interface-descriptors-arm.h"
662 #endif 661 #endif
663 662
664 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 663 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698