Index: src/compiler/js-graph.cc |
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc |
index e91e62efd385628125f1e572933a6ee8ab41ae21..2e48f49c291ba363a5e61de9b341b7a630db22fe 100644 |
--- a/src/compiler/js-graph.cc |
+++ b/src/compiler/js-graph.cc |
@@ -161,7 +161,8 @@ Node* JSGraph::Int64Constant(int64_t value) { |
} |
Node* JSGraph::RelocatableInt32Constant(int32_t value, RelocInfo::Mode rmode) { |
- Node** loc = cache_.FindRelocatableInt32Constant(value); |
+ Node** loc = cache_.FindRelocatableInt32Constant( |
+ value, static_cast<RelocInfoMode>(rmode)); |
if (*loc == nullptr) { |
*loc = graph()->NewNode(common()->RelocatableInt32Constant(value, rmode)); |
} |
@@ -169,7 +170,8 @@ Node* JSGraph::RelocatableInt32Constant(int32_t value, RelocInfo::Mode rmode) { |
} |
Node* JSGraph::RelocatableInt64Constant(int64_t value, RelocInfo::Mode rmode) { |
- Node** loc = cache_.FindRelocatableInt64Constant(value); |
+ Node** loc = cache_.FindRelocatableInt64Constant( |
+ value, static_cast<RelocInfoMode>(rmode)); |
if (*loc == nullptr) { |
*loc = graph()->NewNode(common()->RelocatableInt64Constant(value, rmode)); |
} |