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

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

Issue 1376933006: Vector ICs: Get rid of stack arguments on ia32 transitioning stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code comments. Created 5 years, 2 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/ic/x64/handler-compiler-x64.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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 }; 274 };
275 275
276 276
277 class VectorStoreTransitionDescriptor : public StoreDescriptor { 277 class VectorStoreTransitionDescriptor : public StoreDescriptor {
278 public: 278 public:
279 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(VectorStoreTransitionDescriptor, 279 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(VectorStoreTransitionDescriptor,
280 StoreDescriptor) 280 StoreDescriptor)
281 281
282 // Extends StoreDescriptor with Map parameter. 282 // Extends StoreDescriptor with Map parameter.
283 enum ParameterIndices { 283 enum ParameterIndices {
284 kReceiverIndex, 284 kReceiverIndex = 0,
285 kNameIndex, 285 kNameIndex = 1,
286 kValueIndex, 286 kValueIndex = 2,
287 kSlotIndex, 287
288 kVectorIndex, 288 kMapIndex = 3,
289 kMapIndex, 289
290 kParameterCount 290 kSlotIndex = 4, // not present on ia32.
291 kVirtualSlotVectorIndex = 4,
292
293 kVectorIndex = 5
291 }; 294 };
292 295
293 // These registers are no_reg for ia32, using the stack instead. 296 static const Register MapRegister();
294 static const Register SlotRegister(); 297 static const Register SlotRegister();
295 static const Register VectorRegister(); 298 static const Register VectorRegister();
296 static const Register MapRegister();
297 }; 299 };
298 300
299 301
300 class InstanceOfDescriptor final : public CallInterfaceDescriptor { 302 class InstanceOfDescriptor final : public CallInterfaceDescriptor {
301 public: 303 public:
302 DECLARE_DESCRIPTOR(InstanceOfDescriptor, CallInterfaceDescriptor) 304 DECLARE_DESCRIPTOR(InstanceOfDescriptor, CallInterfaceDescriptor)
303 305
304 enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount }; 306 enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount };
305 static const Register LeftRegister(); 307 static const Register LeftRegister();
306 static const Register RightRegister(); 308 static const Register RightRegister();
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 } // namespace v8 735 } // namespace v8
734 736
735 737
736 #if V8_TARGET_ARCH_ARM64 738 #if V8_TARGET_ARCH_ARM64
737 #include "src/arm64/interface-descriptors-arm64.h" 739 #include "src/arm64/interface-descriptors-arm64.h"
738 #elif V8_TARGET_ARCH_ARM 740 #elif V8_TARGET_ARCH_ARM
739 #include "src/arm/interface-descriptors-arm.h" 741 #include "src/arm/interface-descriptors-arm.h"
740 #endif 742 #endif
741 743
742 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 744 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ic/x64/handler-compiler-x64.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698