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

Side by Side Diff: src/compiler/js-create-lowering.h

Issue 1573153002: [turbofan] Use inline allocation for closures. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 8 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/access-builder.cc ('k') | src/compiler/js-create-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 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_JS_CREATE_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_CREATE_LOWERING_H_
6 #define V8_COMPILER_JS_CREATE_LOWERING_H_ 6 #define V8_COMPILER_JS_CREATE_LOWERING_H_
7 7
8 #include "src/compiler/graph-reducer.h" 8 #include "src/compiler/graph-reducer.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 27 matching lines...) Expand all
38 literals_array_(literals_array), 38 literals_array_(literals_array),
39 zone_(zone) {} 39 zone_(zone) {}
40 ~JSCreateLowering() final {} 40 ~JSCreateLowering() final {}
41 41
42 Reduction Reduce(Node* node) final; 42 Reduction Reduce(Node* node) final;
43 43
44 private: 44 private:
45 Reduction ReduceJSCreate(Node* node); 45 Reduction ReduceJSCreate(Node* node);
46 Reduction ReduceJSCreateArguments(Node* node); 46 Reduction ReduceJSCreateArguments(Node* node);
47 Reduction ReduceJSCreateArray(Node* node); 47 Reduction ReduceJSCreateArray(Node* node);
48 Reduction ReduceJSCreateClosure(Node* node);
48 Reduction ReduceJSCreateIterResultObject(Node* node); 49 Reduction ReduceJSCreateIterResultObject(Node* node);
49 Reduction ReduceJSCreateLiteral(Node* node); 50 Reduction ReduceJSCreateLiteral(Node* node);
50 Reduction ReduceJSCreateFunctionContext(Node* node); 51 Reduction ReduceJSCreateFunctionContext(Node* node);
51 Reduction ReduceJSCreateWithContext(Node* node); 52 Reduction ReduceJSCreateWithContext(Node* node);
52 Reduction ReduceJSCreateCatchContext(Node* node); 53 Reduction ReduceJSCreateCatchContext(Node* node);
53 Reduction ReduceJSCreateBlockContext(Node* node); 54 Reduction ReduceJSCreateBlockContext(Node* node);
54 Reduction ReduceNewArray(Node* node, Node* length, int capacity, 55 Reduction ReduceNewArray(Node* node, Node* length, int capacity,
55 Handle<AllocationSite> site); 56 Handle<AllocationSite> site);
56 57
57 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); 58 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 JSGraph* const jsgraph_; 91 JSGraph* const jsgraph_;
91 MaybeHandle<LiteralsArray> const literals_array_; 92 MaybeHandle<LiteralsArray> const literals_array_;
92 Zone* const zone_; 93 Zone* const zone_;
93 }; 94 };
94 95
95 } // namespace compiler 96 } // namespace compiler
96 } // namespace internal 97 } // namespace internal
97 } // namespace v8 98 } // namespace v8
98 99
99 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ 100 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/js-create-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698