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

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

Issue 587203002: ExtendStorageStub added, it is aimed for extending objects backing store when it runs out of space. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/ic/x87/handler-compiler-x87.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
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 class PlatformInterfaceDescriptor; 14 class PlatformInterfaceDescriptor;
15 15
16 #define INTERFACE_DESCRIPTOR_LIST(V) \ 16 #define INTERFACE_DESCRIPTOR_LIST(V) \
17 V(Load) \ 17 V(Load) \
18 V(Store) \ 18 V(Store) \
19 V(ExtendStorage) \
19 V(ElementTransitionAndStore) \ 20 V(ElementTransitionAndStore) \
20 V(Instanceof) \ 21 V(Instanceof) \
21 V(VectorLoadICTrampoline) \ 22 V(VectorLoadICTrampoline) \
22 V(VectorLoadIC) \ 23 V(VectorLoadIC) \
23 V(FastNewClosure) \ 24 V(FastNewClosure) \
24 V(FastNewContext) \ 25 V(FastNewContext) \
25 V(ToNumber) \ 26 V(ToNumber) \
26 V(NumberToString) \ 27 V(NumberToString) \
27 V(FastCloneShallowArray) \ 28 V(FastCloneShallowArray) \
28 V(FastCloneShallowObject) \ 29 V(FastCloneShallowObject) \
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 kNameIndex, 207 kNameIndex,
207 kValueIndex, 208 kValueIndex,
208 kParameterCount 209 kParameterCount
209 }; 210 };
210 static const Register ReceiverRegister(); 211 static const Register ReceiverRegister();
211 static const Register NameRegister(); 212 static const Register NameRegister();
212 static const Register ValueRegister(); 213 static const Register ValueRegister();
213 }; 214 };
214 215
215 216
217 class ExtendStorageDescriptor : public StoreDescriptor {
218 public:
219 DECLARE_DESCRIPTOR(ExtendStorageDescriptor, StoreDescriptor)
220
221 // Extends StoreDescriptor with Map parameter.
222 enum ParameterIndices {
223 kReceiverIndex,
224 kNameIndex,
225 kValueIndex,
226 kMapIndex,
227 kParameterCount
228 };
229 static const Register MapRegister();
230 };
231
232
216 class ElementTransitionAndStoreDescriptor : public StoreDescriptor { 233 class ElementTransitionAndStoreDescriptor : public StoreDescriptor {
217 public: 234 public:
218 DECLARE_DESCRIPTOR(ElementTransitionAndStoreDescriptor, StoreDescriptor) 235 DECLARE_DESCRIPTOR(ElementTransitionAndStoreDescriptor, StoreDescriptor)
219 236
220 static const Register MapRegister(); 237 static const Register MapRegister();
221 }; 238 };
222 239
223 240
224 class InstanceofDescriptor : public CallInterfaceDescriptor { 241 class InstanceofDescriptor : public CallInterfaceDescriptor {
225 public: 242 public:
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 } // namespace v8::internal 494 } // namespace v8::internal
478 495
479 496
480 #if V8_TARGET_ARCH_ARM64 497 #if V8_TARGET_ARCH_ARM64
481 #include "src/arm64/interface-descriptors-arm64.h" 498 #include "src/arm64/interface-descriptors-arm64.h"
482 #elif V8_TARGET_ARCH_ARM 499 #elif V8_TARGET_ARCH_ARM
483 #include "src/arm/interface-descriptors-arm.h" 500 #include "src/arm/interface-descriptors-arm.h"
484 #endif 501 #endif
485 502
486 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 503 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698