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

Unified Diff: src/compiler/node-properties.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/node-properties.cc
diff --git a/src/compiler/node-properties.cc b/src/compiler/node-properties.cc
index 659fb2a0f18d70737dd9cd9d0a3d060d6275b6d6..b8dc40567e85f1022c51170afde25706b28e3bf9 100644
--- a/src/compiler/node-properties.cc
+++ b/src/compiler/node-properties.cc
@@ -7,6 +7,7 @@
#include "src/compiler/node-properties.h"
#include "src/compiler/operator-properties.h"
#include "src/compiler/verifier.h"
+#include "src/types-inl.h"
namespace v8 {
namespace internal {
@@ -276,6 +277,12 @@ void NodeProperties::CollectControlProjections(Node* node, Node** projections,
// static
+Type* NodeProperties::GetTypeOrAny(Node* node) {
+ return IsTyped(node) ? node->type() : Type::Any();
+}
+
+
+// static
bool NodeProperties::AllValueInputsAreTyped(Node* node) {
int input_count = node->op()->ValueInputCount();
for (int index = 0; index < input_count; ++index) {

Powered by Google App Engine
This is Rietveld 408576698