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

Side by Side Diff: src/compiler/graph-assembler.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/escape-analysis-reducer.cc ('k') | src/compiler/graph-assembler.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_GRAPH_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_GRAPH_ASSEMBLER_H_
6 #define V8_COMPILER_GRAPH_ASSEMBLER_H_ 6 #define V8_COMPILER_GRAPH_ASSEMBLER_H_
7 7
8 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
(...skipping 23 matching lines...) Expand all
34 #define PURE_ASSEMBLER_MACH_BINOP_LIST(V) \ 34 #define PURE_ASSEMBLER_MACH_BINOP_LIST(V) \
35 V(WordShl) \ 35 V(WordShl) \
36 V(WordSar) \ 36 V(WordSar) \
37 V(WordAnd) \ 37 V(WordAnd) \
38 V(Word32Or) \ 38 V(Word32Or) \
39 V(Word32And) \ 39 V(Word32And) \
40 V(Word32Shr) \ 40 V(Word32Shr) \
41 V(Word32Shl) \ 41 V(Word32Shl) \
42 V(IntAdd) \ 42 V(IntAdd) \
43 V(IntSub) \ 43 V(IntSub) \
44 V(IntLessThan) \
44 V(UintLessThan) \ 45 V(UintLessThan) \
45 V(Int32Add) \ 46 V(Int32Add) \
46 V(Int32Sub) \ 47 V(Int32Sub) \
47 V(Int32Mul) \ 48 V(Int32Mul) \
48 V(Int32LessThanOrEqual) \ 49 V(Int32LessThanOrEqual) \
49 V(Uint32LessThanOrEqual) \ 50 V(Uint32LessThanOrEqual) \
50 V(Uint32LessThan) \ 51 V(Uint32LessThan) \
51 V(Int32LessThan) \ 52 V(Int32LessThan) \
52 V(Float64Add) \ 53 V(Float64Add) \
53 V(Float64Sub) \ 54 V(Float64Sub) \
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 Node* Uint32Constant(int32_t value); 238 Node* Uint32Constant(int32_t value);
238 Node* Int32Constant(int32_t value); 239 Node* Int32Constant(int32_t value);
239 Node* UniqueInt32Constant(int32_t value); 240 Node* UniqueInt32Constant(int32_t value);
240 Node* SmiConstant(int32_t value); 241 Node* SmiConstant(int32_t value);
241 Node* Float64Constant(double value); 242 Node* Float64Constant(double value);
242 Node* Projection(int index, Node* value); 243 Node* Projection(int index, Node* value);
243 Node* HeapConstant(Handle<HeapObject> object); 244 Node* HeapConstant(Handle<HeapObject> object);
244 Node* CEntryStubConstant(int result_size); 245 Node* CEntryStubConstant(int result_size);
245 Node* ExternalConstant(ExternalReference ref); 246 Node* ExternalConstant(ExternalReference ref);
246 247
248 Node* LoadFramePointer();
249
247 #define SINGLETON_CONST_DECL(Name) Node* Name(); 250 #define SINGLETON_CONST_DECL(Name) Node* Name();
248 JSGRAPH_SINGLETON_CONSTANT_LIST(SINGLETON_CONST_DECL) 251 JSGRAPH_SINGLETON_CONSTANT_LIST(SINGLETON_CONST_DECL)
249 #undef SINGLETON_CONST_DECL 252 #undef SINGLETON_CONST_DECL
250 253
251 #define PURE_UNOP_DECL(Name) Node* Name(Node* input); 254 #define PURE_UNOP_DECL(Name) Node* Name(Node* input);
252 PURE_ASSEMBLER_MACH_UNOP_LIST(PURE_UNOP_DECL) 255 PURE_ASSEMBLER_MACH_UNOP_LIST(PURE_UNOP_DECL)
253 #undef PURE_UNOP_DECL 256 #undef PURE_UNOP_DECL
254 257
255 #define BINOP_DECL(Name) Node* Name(Node* left, Node* right); 258 #define BINOP_DECL(Name) Node* Name(Node* left, Node* right);
256 PURE_ASSEMBLER_MACH_BINOP_LIST(BINOP_DECL) 259 PURE_ASSEMBLER_MACH_BINOP_LIST(BINOP_DECL)
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 DCHECK_EQ(0, op->ControlOutputCount()); 445 DCHECK_EQ(0, op->ControlOutputCount());
443 current_effect_ = call; 446 current_effect_ = call;
444 return call; 447 return call;
445 } 448 }
446 449
447 } // namespace compiler 450 } // namespace compiler
448 } // namespace internal 451 } // namespace internal
449 } // namespace v8 452 } // namespace v8
450 453
451 #endif // V8_COMPILER_GRAPH_ASSEMBLER_H_ 454 #endif // V8_COMPILER_GRAPH_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis-reducer.cc ('k') | src/compiler/graph-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698