summaryrefslogtreecommitdiff
path: root/chromium/v8/src/compiler/all-nodes.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-01-29 16:35:13 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-02-01 15:33:35 +0000
commitc8c2d1901aec01e934adf561a9fdf0cc776cdef8 (patch)
tree9157c3d9815e5870799e070b113813bec53e0535 /chromium/v8/src/compiler/all-nodes.h
parentabefd5095b41dac94ca451d784ab6e27372e981a (diff)
downloadqtwebengine-chromium-c8c2d1901aec01e934adf561a9fdf0cc776cdef8.tar.gz
BASELINE: Update Chromium to 64.0.3282.139
Change-Id: I1cae68fe9c94ff7608b26b8382fc19862cdb293a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/v8/src/compiler/all-nodes.h')
-rw-r--r--chromium/v8/src/compiler/all-nodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/v8/src/compiler/all-nodes.h b/chromium/v8/src/compiler/all-nodes.h
index 7c70bf75f68..b86c8fa1328 100644
--- a/chromium/v8/src/compiler/all-nodes.h
+++ b/chromium/v8/src/compiler/all-nodes.h
@@ -25,12 +25,12 @@ class AllNodes {
// reachable from the End node.
AllNodes(Zone* local_zone, const Graph* graph, bool only_inputs = true);
- bool IsLive(Node* node) {
+ bool IsLive(const Node* node) const {
CHECK(only_inputs_);
return IsReachable(node);
}
- bool IsReachable(Node* node) {
+ bool IsReachable(const Node* node) const {
if (!node) return false;
size_t id = node->id();
return id < is_reachable_.size() && is_reachable_[id];