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

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

Issue 2802113003: [turbofan] Introduce a SpeculativeToNumber operator. (Closed)
Patch Set: Paint it green! Created 3 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/js-type-hint-lowering.cc ('k') | src/compiler/loop-variable-optimizer.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_TYPED_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 Reduction ReduceJSStoreMessage(Node* node); 77 Reduction ReduceJSStoreMessage(Node* node);
78 Reduction ReduceJSGeneratorStore(Node* node); 78 Reduction ReduceJSGeneratorStore(Node* node);
79 Reduction ReduceJSGeneratorRestoreContinuation(Node* node); 79 Reduction ReduceJSGeneratorRestoreContinuation(Node* node);
80 Reduction ReduceJSGeneratorRestoreRegister(Node* node); 80 Reduction ReduceJSGeneratorRestoreRegister(Node* node);
81 Reduction ReduceJSTypeOf(Node* node); 81 Reduction ReduceJSTypeOf(Node* node);
82 Reduction ReduceNumberBinop(Node* node); 82 Reduction ReduceNumberBinop(Node* node);
83 Reduction ReduceInt32Binop(Node* node); 83 Reduction ReduceInt32Binop(Node* node);
84 Reduction ReduceUI32Shift(Node* node, Signedness signedness); 84 Reduction ReduceUI32Shift(Node* node, Signedness signedness);
85 Reduction ReduceCreateConsString(Node* node); 85 Reduction ReduceCreateConsString(Node* node);
86 Reduction ReduceSpeculativeNumberAdd(Node* node); 86 Reduction ReduceSpeculativeNumberAdd(Node* node);
87 Reduction ReduceSpeculativeNumberMultiply(Node* node);
87 Reduction ReduceSpeculativeNumberBinop(Node* node); 88 Reduction ReduceSpeculativeNumberBinop(Node* node);
88 Reduction ReduceSpeculativeNumberComparison(Node* node); 89 Reduction ReduceSpeculativeNumberComparison(Node* node);
89 90
90 Factory* factory() const; 91 Factory* factory() const;
91 Graph* graph() const; 92 Graph* graph() const;
92 JSGraph* jsgraph() const { return jsgraph_; } 93 JSGraph* jsgraph() const { return jsgraph_; }
93 Isolate* isolate() const; 94 Isolate* isolate() const;
94 JSOperatorBuilder* javascript() const; 95 JSOperatorBuilder* javascript() const;
95 CommonOperatorBuilder* common() const; 96 CommonOperatorBuilder* common() const;
96 SimplifiedOperatorBuilder* simplified() const; 97 SimplifiedOperatorBuilder* simplified() const;
97 CompilationDependencies* dependencies() const; 98 CompilationDependencies* dependencies() const;
98 Flags flags() const { return flags_; } 99 Flags flags() const { return flags_; }
99 100
100 CompilationDependencies* dependencies_; 101 CompilationDependencies* dependencies_;
101 Flags flags_; 102 Flags flags_;
102 JSGraph* jsgraph_; 103 JSGraph* jsgraph_;
103 Type* shifted_int32_ranges_[4]; 104 Type* shifted_int32_ranges_[4];
104 Type* pointer_comparable_type_; 105 Type* pointer_comparable_type_;
105 TypeCache const& type_cache_; 106 TypeCache const& type_cache_;
106 }; 107 };
107 108
108 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) 109 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags)
109 110
110 } // namespace compiler 111 } // namespace compiler
111 } // namespace internal 112 } // namespace internal
112 } // namespace v8 113 } // namespace v8
113 114
114 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 115 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/js-type-hint-lowering.cc ('k') | src/compiler/loop-variable-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698