| Index: src/compiler/common-node-cache.h
|
| diff --git a/src/compiler/common-node-cache.h b/src/compiler/common-node-cache.h
|
| index 1ed2b0497dbc1b06830ee43aa0c7ba22a64e67d6..ca43325e52ad439f3ded704e13ae82e35b336385 100644
|
| --- a/src/compiler/common-node-cache.h
|
| +++ b/src/compiler/common-node-cache.h
|
| @@ -21,6 +21,10 @@ class CommonNodeCache FINAL : public ZoneObject {
|
| return int32_constants_.Find(zone_, value);
|
| }
|
|
|
| + Node** FindInt64Constant(int64_t value) {
|
| + return int64_constants_.Find(zone_, value);
|
| + }
|
| +
|
| Node** FindFloat64Constant(double value) {
|
| // We canonicalize double constants at the bit representation level.
|
| return float64_constants_.Find(zone_, bit_cast<int64_t>(value));
|
| @@ -39,13 +43,15 @@ class CommonNodeCache FINAL : public ZoneObject {
|
|
|
| private:
|
| Int32NodeCache int32_constants_;
|
| + Int64NodeCache int64_constants_;
|
| Int64NodeCache float64_constants_;
|
| PtrNodeCache external_constants_;
|
| Int64NodeCache number_constants_;
|
| Zone* zone_;
|
| };
|
| -}
|
| -}
|
| -} // namespace v8::internal::compiler
|
| +
|
| +} // namespace compiler
|
| +} // namespace internal
|
| +} // namespace v8
|
|
|
| #endif // V8_COMPILER_COMMON_NODE_CACHE_H_
|
|
|