Index: src/compiler/common-node-cache.cc |
diff --git a/src/compiler/common-node-cache.cc b/src/compiler/common-node-cache.cc |
index 8a041f3d4ff24632ac7f81947b697eb346619756..fa4ca34468c65df1445fc3f7ec28c0094ce0e24a 100644 |
--- a/src/compiler/common-node-cache.cc |
+++ b/src/compiler/common-node-cache.cc |
@@ -17,7 +17,7 @@ Node** CommonNodeCache::FindExternalConstant(ExternalReference value) { |
Node** CommonNodeCache::FindHeapConstant(Handle<HeapObject> value) { |
- return heap_constants_.Find(zone(), bit_cast<intptr_t>(value.location())); |
+ return heap_constants_.Find(zone(), bit_cast<intptr_t>(value.address())); |
} |