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

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

Issue 1242303005: [turbofan]: Elide extra move when accessing stack or frame register (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: src/compiler/code-generator.cc 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/mips/frames-mips.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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 // Some platforms have extra information to associate with the descriptor. 163 // Some platforms have extra information to associate with the descriptor.
164 PlatformInterfaceDescriptor* platform_specific_descriptor() const { 164 PlatformInterfaceDescriptor* platform_specific_descriptor() const {
165 return data()->platform_specific_descriptor(); 165 return data()->platform_specific_descriptor();
166 } 166 }
167 167
168 Type::FunctionType* GetFunctionType() const { 168 Type::FunctionType* GetFunctionType() const {
169 return data()->function_type(); 169 return data()->function_type();
170 } 170 }
171 171
172 static const Register ContextRegister();
173
174 const char* DebugName(Isolate* isolate) const; 172 const char* DebugName(Isolate* isolate) const;
175 173
176 static Type::FunctionType* BuildDefaultFunctionType(Isolate* isolate, 174 static Type::FunctionType* BuildDefaultFunctionType(Isolate* isolate,
177 int paramater_count); 175 int paramater_count);
178 176
179 protected: 177 protected:
180 const CallInterfaceDescriptorData* data() const { return data_; } 178 const CallInterfaceDescriptorData* data() const { return data_; }
181 179
182 virtual Type::FunctionType* BuildCallInterfaceDescriptorFunctionType( 180 virtual Type::FunctionType* BuildCallInterfaceDescriptorFunctionType(
183 Isolate* isolate, int register_param_count) { 181 Isolate* isolate, int register_param_count) {
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 } // namespace v8::internal 653 } // namespace v8::internal
656 654
657 655
658 #if V8_TARGET_ARCH_ARM64 656 #if V8_TARGET_ARCH_ARM64
659 #include "src/arm64/interface-descriptors-arm64.h" 657 #include "src/arm64/interface-descriptors-arm64.h"
660 #elif V8_TARGET_ARCH_ARM 658 #elif V8_TARGET_ARCH_ARM
661 #include "src/arm/interface-descriptors-arm.h" 659 #include "src/arm/interface-descriptors-arm.h"
662 #endif 660 #endif
663 661
664 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 662 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/mips/frames-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698