| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index eef43257b2720ce04937b27a268161e2769ded36..6c80446ce921da7e1906cd4dfe3e74e2bca6ee61 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -5,7 +5,6 @@
|
| #include "src/compiler/typer.h"
|
|
|
| #include "src/base/flags.h"
|
| -#include "src/base/lazy-instance.h"
|
| #include "src/bootstrapper.h"
|
| #include "src/compilation-dependencies.h"
|
| #include "src/compiler/common-operator.h"
|
| @@ -15,19 +14,12 @@
|
| #include "src/compiler/node-properties.h"
|
| #include "src/compiler/simplified-operator.h"
|
| #include "src/objects-inl.h"
|
| -#include "src/zone-type-cache.h"
|
| +#include "src/type-cache.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| namespace compiler {
|
|
|
| -namespace {
|
| -
|
| -base::LazyInstance<ZoneTypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER;
|
| -
|
| -} // namespace
|
| -
|
| -
|
| class Typer::Decorator final : public GraphDecorator {
|
| public:
|
| explicit Decorator(Typer* typer) : typer_(typer) {}
|
| @@ -47,7 +39,7 @@ Typer::Typer(Isolate* isolate, Graph* graph, Flags flags,
|
| dependencies_(dependencies),
|
| function_type_(function_type),
|
| decorator_(nullptr),
|
| - cache_(kCache.Get()) {
|
| + cache_(TypeCache::Get()) {
|
| Zone* zone = this->zone();
|
| Factory* const factory = isolate->factory();
|
|
|
|
|