Upgrade V8 to version 4.9.385.28
https://chromium.googlesource.com/v8/v8/+/4.9.385.28
FPIIM-449
Change-Id: I4b2e74289d4bf3667f2f3dc8aa2e541f63e26eb4
diff --git a/src/compiler/common-node-cache.h b/src/compiler/common-node-cache.h
index 7ec70ae..720bc15 100644
--- a/src/compiler/common-node-cache.h
+++ b/src/compiler/common-node-cache.h
@@ -12,12 +12,15 @@
// Forward declarations.
class ExternalReference;
+class HeapObject;
+template <typename>
+class Handle;
namespace compiler {
// Bundles various caches for common nodes.
-class CommonNodeCache FINAL {
+class CommonNodeCache final {
public:
explicit CommonNodeCache(Zone* zone) : zone_(zone) {}
~CommonNodeCache() {}
@@ -47,6 +50,8 @@
return number_constants_.Find(zone(), bit_cast<int64_t>(value));
}
+ Node** FindHeapConstant(Handle<HeapObject> value);
+
// Return all nodes from the cache.
void GetCachedNodes(ZoneVector<Node*>* nodes);
@@ -59,7 +64,8 @@
Int64NodeCache float64_constants_;
IntPtrNodeCache external_constants_;
Int64NodeCache number_constants_;
- Zone* zone_;
+ IntPtrNodeCache heap_constants_;
+ Zone* const zone_;
DISALLOW_COPY_AND_ASSIGN(CommonNodeCache);
};