| Index: src/compiler/common-node-cache.h
|
| diff --git a/src/compiler/common-node-cache.h b/src/compiler/common-node-cache.h
|
| index 720bc1531dd47c46df3cc577eee94bf984587ee5..cee0c4e837c6c4706c7fb03368534deb554bbd45 100644
|
| --- a/src/compiler/common-node-cache.h
|
| +++ b/src/compiler/common-node-cache.h
|
| @@ -52,6 +52,14 @@ class CommonNodeCache final {
|
|
|
| Node** FindHeapConstant(Handle<HeapObject> value);
|
|
|
| + Node** FindRelocatableInt32Constant(int32_t value) {
|
| + return relocatable_int32_constants_.Find(zone(), value);
|
| + }
|
| +
|
| + Node** FindRelocatableInt64Constant(int64_t value) {
|
| + return relocatable_int64_constants_.Find(zone(), value);
|
| + }
|
| +
|
| // Return all nodes from the cache.
|
| void GetCachedNodes(ZoneVector<Node*>* nodes);
|
|
|
| @@ -65,6 +73,8 @@ class CommonNodeCache final {
|
| IntPtrNodeCache external_constants_;
|
| Int64NodeCache number_constants_;
|
| IntPtrNodeCache heap_constants_;
|
| + Int32NodeCache relocatable_int32_constants_;
|
| + Int64NodeCache relocatable_int64_constants_;
|
| Zone* const zone_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CommonNodeCache);
|
|
|