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

Unified Diff: src/compiler/common-operator.cc

Issue 1420283009: [turbofan] Add support for storing to double fields. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/common-operator.cc
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc
index bfe946da2f1a95f6f8d8925c97fc1d61fd997fc5..51f93da3b4d30d16913fa72a7447f82e78a10cbc 100644
--- a/src/compiler/common-operator.cc
+++ b/src/compiler/common-operator.cc
@@ -671,6 +671,15 @@ const Operator* CommonOperatorBuilder::EffectPhi(int effect_input_count) {
}
+const Operator* CommonOperatorBuilder::Guard(Type* type) {
+ return new (zone()) Operator1<Type*>( // --
+ IrOpcode::kGuard, Operator::kKontrol, // opcode
+ "Guard", // name
+ 1, 0, 1, 1, 0, 0, // counts
+ type); // parameter
+}
+
+
const Operator* CommonOperatorBuilder::EffectSet(int arguments) {
DCHECK(arguments > 1); // Disallow empty/singleton sets.
return new (zone()) Operator( // --

Powered by Google App Engine
This is Rietveld 408576698