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

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

Issue 1097963002: [turbofan] Use FastCloneShallow[Array|Object]Stub if possible. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 5 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/ast-graph-builder.cc ('k') | src/compiler/js-intrinsic-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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTRINSIC_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_
6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
(...skipping 11 matching lines...) Expand all
22 // Lowers certain JS-level runtime calls. 22 // Lowers certain JS-level runtime calls.
23 class JSIntrinsicLowering FINAL : public Reducer { 23 class JSIntrinsicLowering FINAL : public Reducer {
24 public: 24 public:
25 explicit JSIntrinsicLowering(JSGraph* jsgraph); 25 explicit JSIntrinsicLowering(JSGraph* jsgraph);
26 ~JSIntrinsicLowering() FINAL {} 26 ~JSIntrinsicLowering() FINAL {}
27 27
28 Reduction Reduce(Node* node) FINAL; 28 Reduction Reduce(Node* node) FINAL;
29 29
30 private: 30 private:
31 Reduction ReduceConstructDouble(Node* node); 31 Reduction ReduceConstructDouble(Node* node);
32 Reduction ReduceCreateArrayLiteral(Node* node);
33 Reduction ReduceCreateObjectLiteral(Node* node);
32 Reduction ReduceDeoptimizeNow(Node* node); 34 Reduction ReduceDeoptimizeNow(Node* node);
33 Reduction ReduceDoubleHi(Node* node); 35 Reduction ReduceDoubleHi(Node* node);
34 Reduction ReduceDoubleLo(Node* node); 36 Reduction ReduceDoubleLo(Node* node);
35 Reduction ReduceHeapObjectGetMap(Node* node); 37 Reduction ReduceHeapObjectGetMap(Node* node);
36 Reduction ReduceIncrementStatsCounter(Node* node); 38 Reduction ReduceIncrementStatsCounter(Node* node);
37 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); 39 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type);
38 Reduction ReduceIsNonNegativeSmi(Node* node); 40 Reduction ReduceIsNonNegativeSmi(Node* node);
39 Reduction ReduceIsSmi(Node* node); 41 Reduction ReduceIsSmi(Node* node);
40 Reduction ReduceJSValueGetValue(Node* node); 42 Reduction ReduceJSValueGetValue(Node* node);
41 Reduction ReduceMapGetInstanceType(Node* node); 43 Reduction ReduceMapGetInstanceType(Node* node);
(...skipping 18 matching lines...) Expand all
60 62
61 JSGraph* jsgraph_; 63 JSGraph* jsgraph_;
62 SimplifiedOperatorBuilder simplified_; 64 SimplifiedOperatorBuilder simplified_;
63 }; 65 };
64 66
65 } // namespace compiler 67 } // namespace compiler
66 } // namespace internal 68 } // namespace internal
67 } // namespace v8 69 } // namespace v8
68 70
69 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 71 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/js-intrinsic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698