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

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

Issue 881433002: Use a WeakCell in the CallIC type vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Now with fix for Mandreel Regression. Created 5 years, 10 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/ic.cc ('k') | src/type-feedback-vector.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 10 matching lines...) Expand all
21 V(Instanceof) \ 21 V(Instanceof) \
22 V(VectorLoadICTrampoline) \ 22 V(VectorLoadICTrampoline) \
23 V(VectorLoadIC) \ 23 V(VectorLoadIC) \
24 V(FastNewClosure) \ 24 V(FastNewClosure) \
25 V(FastNewContext) \ 25 V(FastNewContext) \
26 V(ToNumber) \ 26 V(ToNumber) \
27 V(NumberToString) \ 27 V(NumberToString) \
28 V(FastCloneShallowArray) \ 28 V(FastCloneShallowArray) \
29 V(FastCloneShallowObject) \ 29 V(FastCloneShallowObject) \
30 V(CreateAllocationSite) \ 30 V(CreateAllocationSite) \
31 V(CreateWeakCell) \
31 V(CallFunction) \ 32 V(CallFunction) \
32 V(CallFunctionWithFeedback) \ 33 V(CallFunctionWithFeedback) \
33 V(CallFunctionWithFeedbackAndVector) \ 34 V(CallFunctionWithFeedbackAndVector) \
34 V(CallConstruct) \ 35 V(CallConstruct) \
35 V(RegExpConstructResult) \ 36 V(RegExpConstructResult) \
36 V(TransitionElementsKind) \ 37 V(TransitionElementsKind) \
37 V(AllocateHeapNumber) \ 38 V(AllocateHeapNumber) \
38 V(ArrayConstructorConstantArgCount) \ 39 V(ArrayConstructorConstantArgCount) \
39 V(ArrayConstructor) \ 40 V(ArrayConstructor) \
40 V(InternalArrayConstructorConstantArgCount) \ 41 V(InternalArrayConstructorConstantArgCount) \
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor) 312 DECLARE_DESCRIPTOR(FastCloneShallowObjectDescriptor, CallInterfaceDescriptor)
312 }; 313 };
313 314
314 315
315 class CreateAllocationSiteDescriptor : public CallInterfaceDescriptor { 316 class CreateAllocationSiteDescriptor : public CallInterfaceDescriptor {
316 public: 317 public:
317 DECLARE_DESCRIPTOR(CreateAllocationSiteDescriptor, CallInterfaceDescriptor) 318 DECLARE_DESCRIPTOR(CreateAllocationSiteDescriptor, CallInterfaceDescriptor)
318 }; 319 };
319 320
320 321
322 class CreateWeakCellDescriptor : public CallInterfaceDescriptor {
323 public:
324 enum ParameterIndices {
325 kVectorIndex,
326 kSlotIndex,
327 kValueIndex,
328 kParameterCount
329 };
330
331 DECLARE_DESCRIPTOR(CreateWeakCellDescriptor, CallInterfaceDescriptor)
332 };
333
334
321 class CallFunctionDescriptor : public CallInterfaceDescriptor { 335 class CallFunctionDescriptor : public CallInterfaceDescriptor {
322 public: 336 public:
323 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) 337 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor)
324 }; 338 };
325 339
326 340
327 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { 341 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor {
328 public: 342 public:
329 DECLARE_DESCRIPTOR(CallFunctionWithFeedbackDescriptor, 343 DECLARE_DESCRIPTOR(CallFunctionWithFeedbackDescriptor,
330 CallInterfaceDescriptor) 344 CallInterfaceDescriptor)
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 } // namespace v8::internal 531 } // namespace v8::internal
518 532
519 533
520 #if V8_TARGET_ARCH_ARM64 534 #if V8_TARGET_ARCH_ARM64
521 #include "src/arm64/interface-descriptors-arm64.h" 535 #include "src/arm64/interface-descriptors-arm64.h"
522 #elif V8_TARGET_ARCH_ARM 536 #elif V8_TARGET_ARCH_ARM
523 #include "src/arm/interface-descriptors-arm.h" 537 #include "src/arm/interface-descriptors-arm.h"
524 #endif 538 #endif
525 539
526 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 540 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/type-feedback-vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698