summaryrefslogtreecommitdiff
path: root/chromium/v8/src/compiler/node-properties.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-05-05 15:22:25 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-05-05 15:22:44 +0200
commit4f62685dfa09d64a8fcd2de9ed0adb7fe5747b78 (patch)
tree9dc9c3ba8ab461f7ee3d444222246be5ed55ae3f /chromium/v8/src/compiler/node-properties.h
parent19de26b7efd6b993f2af26cf435f04c716d3f5bc (diff)
parentbb09965444b5bb20b096a291445170876225268d (diff)
downloadqtwebengine-chromium-4f62685dfa09d64a8fcd2de9ed0adb7fe5747b78.tar.gz
Merge branch 'upstream-master' into 58-based
Change-Id: I8c280ca9068fdda9cf6276725bfb8608eccb497a
Diffstat (limited to 'chromium/v8/src/compiler/node-properties.h')
-rw-r--r--chromium/v8/src/compiler/node-properties.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/chromium/v8/src/compiler/node-properties.h b/chromium/v8/src/compiler/node-properties.h
index c82d78a6158..5ed85402d1f 100644
--- a/chromium/v8/src/compiler/node-properties.h
+++ b/chromium/v8/src/compiler/node-properties.h
@@ -128,10 +128,15 @@ class V8_EXPORT_PRIVATE NodeProperties final {
static bool IsSame(Node* a, Node* b);
// Walks up the {effect} chain to find a witness that provides map
- // information about the {receiver}. Doesn't look through potentially
+ // information about the {receiver}. Can look through potentially
// side effecting nodes.
- static bool InferReceiverMaps(Node* receiver, Node* effect,
- ZoneHandleSet<Map>* maps_return);
+ enum InferReceiverMapsResult {
+ kNoReceiverMaps, // No receiver maps inferred.
+ kReliableReceiverMaps, // Receiver maps can be trusted.
+ kUnreliableReceiverMaps // Receiver maps might have changed (side-effect).
+ };
+ static InferReceiverMapsResult InferReceiverMaps(
+ Node* receiver, Node* effect, ZoneHandleSet<Map>* maps_return);
// ---------------------------------------------------------------------------
// Context.