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

Side by Side Diff: src/compiler/opcodes.h

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: addressed comments Created 3 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 30 matching lines...) Expand all
41 V(Int64Constant) \ 41 V(Int64Constant) \
42 V(Float32Constant) \ 42 V(Float32Constant) \
43 V(Float64Constant) \ 43 V(Float64Constant) \
44 V(ExternalConstant) \ 44 V(ExternalConstant) \
45 V(NumberConstant) \ 45 V(NumberConstant) \
46 V(PointerConstant) \ 46 V(PointerConstant) \
47 V(HeapConstant) \ 47 V(HeapConstant) \
48 V(RelocatableInt32Constant) \ 48 V(RelocatableInt32Constant) \
49 V(RelocatableInt64Constant) 49 V(RelocatableInt64Constant)
50 50
51 #define INNER_OP_LIST(V) \ 51 #define INNER_OP_LIST(V) \
52 V(Select) \ 52 V(Select) \
53 V(Phi) \ 53 V(Phi) \
54 V(EffectPhi) \ 54 V(EffectPhi) \
55 V(InductionVariablePhi) \ 55 V(InductionVariablePhi) \
56 V(Checkpoint) \ 56 V(Checkpoint) \
57 V(BeginRegion) \ 57 V(BeginRegion) \
58 V(FinishRegion) \ 58 V(FinishRegion) \
59 V(FrameState) \ 59 V(FrameState) \
60 V(StateValues) \ 60 V(StateValues) \
61 V(TypedStateValues) \ 61 V(TypedStateValues) \
62 V(ArgumentsObjectState) \ 62 V(ArgumentsElementsState) \
63 V(ObjectState) \ 63 V(ObjectState) \
64 V(TypedObjectState) \ 64 V(TypedObjectState) \
65 V(Call) \ 65 V(Call) \
66 V(Parameter) \ 66 V(Parameter) \
67 V(OsrValue) \ 67 V(OsrValue) \
68 V(OsrGuard) \ 68 V(OsrGuard) \
69 V(LoopExit) \ 69 V(LoopExit) \
70 V(LoopExitValue) \ 70 V(LoopExitValue) \
71 V(LoopExitEffect) \ 71 V(LoopExitEffect) \
72 V(Projection) \ 72 V(Projection) \
73 V(Retain) \ 73 V(Retain) \
74 V(TypeGuard) 74 V(TypeGuard)
75 75
76 #define COMMON_OP_LIST(V) \ 76 #define COMMON_OP_LIST(V) \
77 CONSTANT_OP_LIST(V) \ 77 CONSTANT_OP_LIST(V) \
78 INNER_OP_LIST(V) \ 78 INNER_OP_LIST(V) \
79 V(Dead) 79 V(Dead)
80 80
81 // Opcodes for JavaScript operators. 81 // Opcodes for JavaScript operators.
82 #define JS_COMPARE_BINOP_LIST(V) \ 82 #define JS_COMPARE_BINOP_LIST(V) \
83 V(JSEqual) \ 83 V(JSEqual) \
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 V(StoreBuffer) \ 331 V(StoreBuffer) \
332 V(StoreElement) \ 332 V(StoreElement) \
333 V(StoreTypedElement) \ 333 V(StoreTypedElement) \
334 V(ObjectIsCallable) \ 334 V(ObjectIsCallable) \
335 V(ObjectIsNonCallable) \ 335 V(ObjectIsNonCallable) \
336 V(ObjectIsNumber) \ 336 V(ObjectIsNumber) \
337 V(ObjectIsReceiver) \ 337 V(ObjectIsReceiver) \
338 V(ObjectIsSmi) \ 338 V(ObjectIsSmi) \
339 V(ObjectIsString) \ 339 V(ObjectIsString) \
340 V(ObjectIsUndetectable) \ 340 V(ObjectIsUndetectable) \
341 V(NewRestParameterElements) \ 341 V(ArgumentsFrame) \
342 V(ArgumentsLength) \
342 V(NewUnmappedArgumentsElements) \ 343 V(NewUnmappedArgumentsElements) \
343 V(ArrayBufferWasNeutered) \ 344 V(ArrayBufferWasNeutered) \
344 V(EnsureWritableFastElements) \ 345 V(EnsureWritableFastElements) \
345 V(MaybeGrowFastElements) \ 346 V(MaybeGrowFastElements) \
346 V(TransitionElementsKind) 347 V(TransitionElementsKind)
347 348
348 #define SIMPLIFIED_OP_LIST(V) \ 349 #define SIMPLIFIED_OP_LIST(V) \
349 SIMPLIFIED_CHANGE_OP_LIST(V) \ 350 SIMPLIFIED_CHANGE_OP_LIST(V) \
350 SIMPLIFIED_CHECKED_OP_LIST(V) \ 351 SIMPLIFIED_CHECKED_OP_LIST(V) \
351 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ 352 SIMPLIFIED_COMPARE_BINOP_LIST(V) \
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 } 816 }
816 }; 817 };
817 818
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 819 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
819 820
820 } // namespace compiler 821 } // namespace compiler
821 } // namespace internal 822 } // namespace internal
822 } // namespace v8 823 } // namespace v8
823 824
824 #endif // V8_COMPILER_OPCODES_H_ 825 #endif // V8_COMPILER_OPCODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698