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

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

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: handle the case where Deoptimizer::function_ is a Smi Created 3 years, 9 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/compiler/js-create-lowering.cc ('k') | src/compiler/simplified-lowering.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 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 V(StoreBuffer) \ 332 V(StoreBuffer) \
333 V(StoreElement) \ 333 V(StoreElement) \
334 V(StoreTypedElement) \ 334 V(StoreTypedElement) \
335 V(ObjectIsDetectableCallable) \ 335 V(ObjectIsDetectableCallable) \
336 V(ObjectIsNonCallable) \ 336 V(ObjectIsNonCallable) \
337 V(ObjectIsNumber) \ 337 V(ObjectIsNumber) \
338 V(ObjectIsReceiver) \ 338 V(ObjectIsReceiver) \
339 V(ObjectIsSmi) \ 339 V(ObjectIsSmi) \
340 V(ObjectIsString) \ 340 V(ObjectIsString) \
341 V(ObjectIsUndetectable) \ 341 V(ObjectIsUndetectable) \
342 V(NewRestParameterElements) \ 342 V(ArgumentsFrame) \
343 V(ArgumentsLength) \
343 V(NewUnmappedArgumentsElements) \ 344 V(NewUnmappedArgumentsElements) \
344 V(ArrayBufferWasNeutered) \ 345 V(ArrayBufferWasNeutered) \
345 V(EnsureWritableFastElements) \ 346 V(EnsureWritableFastElements) \
346 V(MaybeGrowFastElements) \ 347 V(MaybeGrowFastElements) \
347 V(TransitionElementsKind) 348 V(TransitionElementsKind)
348 349
349 #define SIMPLIFIED_OP_LIST(V) \ 350 #define SIMPLIFIED_OP_LIST(V) \
350 SIMPLIFIED_CHANGE_OP_LIST(V) \ 351 SIMPLIFIED_CHANGE_OP_LIST(V) \
351 SIMPLIFIED_CHECKED_OP_LIST(V) \ 352 SIMPLIFIED_CHECKED_OP_LIST(V) \
352 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ 353 SIMPLIFIED_COMPARE_BINOP_LIST(V) \
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 } 800 }
800 }; 801 };
801 802
802 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 803 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
803 804
804 } // namespace compiler 805 } // namespace compiler
805 } // namespace internal 806 } // namespace internal
806 } // namespace v8 807 } // namespace v8
807 808
808 #endif // V8_COMPILER_OPCODES_H_ 809 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-create-lowering.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698