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

Unified Diff: src/compiler/effect-control-linearizer.h

Issue 1921563002: [turbofan] Initial version of number type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add tests for the checks and fix check insertion Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/effect-control-linearizer.h
diff --git a/src/compiler/effect-control-linearizer.h b/src/compiler/effect-control-linearizer.h
index 7d7f938b765bbe8d1e96753a1168583525ce3ce1..029ed3f19b5c618ec44a0955e4dfab3dbfccc7de 100644
--- a/src/compiler/effect-control-linearizer.h
+++ b/src/compiler/effect-control-linearizer.h
@@ -60,6 +60,14 @@ class EffectControlLinearizer {
Node* control);
ValueEffectControl LowerChangeTaggedToUint32(Node* node, Node* effect,
Node* control);
+ ValueEffectControl LowerCheckedUint32ToInt32(Node* node, Node* effect,
+ Node* control);
+ ValueEffectControl LowerCheckedFloat64ToInt32(Node* node, Node* effect,
+ Node* control);
+ ValueEffectControl LowerCheckedTaggedToInt32(Node* node, Node* effect,
+ Node* control);
+ ValueEffectControl LowerCheckedTaggedToFloat64(Node* node, Node* effect,
+ Node* control);
ValueEffectControl LowerChangeTaggedToFloat64(Node* node, Node* effect,
Node* control);
ValueEffectControl LowerTruncateTaggedToWord32(Node* node, Node* effect,
@@ -77,7 +85,12 @@ class EffectControlLinearizer {
Node* control);
ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect,
Node* control);
-
+ ValueEffectControl BuildCheckedFloat64ToInt32(Node* value, Node* frame_state,
+ Node* effect, Node* control);
+ ValueEffectControl BuildCheckedHeapNumberOrOddballToFloat64(Node* value,
+ Node* frame_state,
+ Node* effect,
+ Node* control);
Node* ChangeInt32ToSmi(Node* value);
Node* ChangeUint32ToSmi(Node* value);
Node* ChangeInt32ToFloat64(Node* value);

Powered by Google App Engine
This is Rietveld 408576698