Index: src/typing-asm.cc |
diff --git a/src/typing-asm.cc b/src/typing-asm.cc |
index 5198f5918337fa47bfbc502be473d44603469719..d9678846671ce98161f620281a6874a8529f1d67 100644 |
--- a/src/typing-asm.cc |
+++ b/src/typing-asm.cc |
@@ -9,16 +9,10 @@ |
#include "src/ast.h" |
#include "src/codegen.h" |
#include "src/scopes.h" |
-#include "src/zone-type-cache.h" |
+#include "src/type-cache.h" |
namespace v8 { |
namespace internal { |
-namespace { |
- |
-base::LazyInstance<ZoneTypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER; |
- |
-} // namespace |
- |
#define FAIL(node, msg) \ |
do { \ |
@@ -58,7 +52,7 @@ AsmTyper::AsmTyper(Isolate* isolate, Zone* zone, Script* script, |
ZoneAllocationPolicy(zone)), |
in_function_(false), |
building_function_tables_(false), |
- cache_(kCache.Get()) { |
+ cache_(TypeCache::Get()) { |
InitializeAstVisitor(isolate); |
InitializeStdlib(); |
} |