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

Unified Diff: src/compiler/machine-operator.h

Issue 2280613002: Revert of [turbofan] Insert dummy values when changing from None type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/machine-operator.h
diff --git a/src/compiler/machine-operator.h b/src/compiler/machine-operator.h
index 5d0e677f8d5ec99b325c1799b418eb5b05e6f62d..611846a1db6b254e6b3ebdd5da824d6eac19a7aa 100644
--- a/src/compiler/machine-operator.h
+++ b/src/compiler/machine-operator.h
@@ -302,6 +302,16 @@
const Operator* ChangeUint32ToFloat64();
const Operator* ChangeUint32ToUint64();
+ // These are changes from impossible values (for example a smi-checked
+ // string). They can safely emit an abort instruction, which should
+ // never be reached.
+ const Operator* ImpossibleToWord32();
+ const Operator* ImpossibleToWord64();
+ const Operator* ImpossibleToFloat32();
+ const Operator* ImpossibleToFloat64();
+ const Operator* ImpossibleToTagged();
+ const Operator* ImpossibleToBit();
+
// These operators truncate or round numbers, both changing the representation
// of the number and mapping multiple input values onto the same output value.
const Operator* TruncateFloat64ToFloat32();
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698