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

Side by Side Diff: src/compiler/effect-control-linearizer.h

Issue 2202993005: [turbofan] Don't generate unnecessary minus zero checks. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_SignedSmall
Patch Set: Err, DCHECK, meh Created 4 years, 4 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 | « no previous file | src/compiler/effect-control-linearizer.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_EFFECT_CONTROL_LINEARIZER_H_ 5 #ifndef V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 Node* control); 138 Node* control);
139 ValueEffectControl LowerTransitionElementsKind(Node* node, Node* effect, 139 ValueEffectControl LowerTransitionElementsKind(Node* node, Node* effect,
140 Node* control); 140 Node* control);
141 ValueEffectControl LowerLoadTypedElement(Node* node, Node* effect, 141 ValueEffectControl LowerLoadTypedElement(Node* node, Node* effect,
142 Node* control); 142 Node* control);
143 ValueEffectControl LowerStoreTypedElement(Node* node, Node* effect, 143 ValueEffectControl LowerStoreTypedElement(Node* node, Node* effect,
144 Node* control); 144 Node* control);
145 145
146 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, 146 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect,
147 Node* control); 147 Node* control);
148 ValueEffectControl BuildCheckedFloat64ToInt32(Node* value, Node* frame_state, 148 ValueEffectControl BuildCheckedFloat64ToInt32(CheckForMinusZeroMode mode,
149 Node* value, Node* frame_state,
149 Node* effect, Node* control); 150 Node* effect, Node* control);
150 ValueEffectControl BuildCheckedHeapNumberOrOddballToFloat64(Node* value, 151 ValueEffectControl BuildCheckedHeapNumberOrOddballToFloat64(Node* value,
151 Node* frame_state, 152 Node* frame_state,
152 Node* effect, 153 Node* effect,
153 Node* control); 154 Node* control);
154 155
155 Node* ChangeInt32ToSmi(Node* value); 156 Node* ChangeInt32ToSmi(Node* value);
156 Node* ChangeUint32ToSmi(Node* value); 157 Node* ChangeUint32ToSmi(Node* value);
157 Node* ChangeInt32ToFloat64(Node* value); 158 Node* ChangeInt32ToFloat64(Node* value);
158 Node* ChangeUint32ToFloat64(Node* value); 159 Node* ChangeUint32ToFloat64(Node* value);
(...skipping 21 matching lines...) Expand all
180 RegionObservability region_observability_ = RegionObservability::kObservable; 181 RegionObservability region_observability_ = RegionObservability::kObservable;
181 182
182 SetOncePointer<Operator const> to_number_operator_; 183 SetOncePointer<Operator const> to_number_operator_;
183 }; 184 };
184 185
185 } // namespace compiler 186 } // namespace compiler
186 } // namespace internal 187 } // namespace internal
187 } // namespace v8 188 } // namespace v8
188 189
189 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 190 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/effect-control-linearizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698