Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: src/compiler/typer.h

Issue 1209513002: [turbofan] Make TyperCache global and thread safe. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.h
diff --git a/src/compiler/typer.h b/src/compiler/typer.h
index 1d5929822aaf113311bf4f6927d713801a4b15f6..5c59b5610bf8ab2bcb795873942067a2c6a659ed 100644
--- a/src/compiler/typer.h
+++ b/src/compiler/typer.h
@@ -13,7 +13,7 @@ namespace internal {
namespace compiler {
// Forward declarations.
-class LazyTypeCache;
+class TyperCache;
class Typer {
@@ -41,18 +41,14 @@ class Typer {
Type::FunctionType* function_type_;
MaybeHandle<Context> const context_;
Decorator* decorator_;
+ TyperCache const& cache_;
Type* singleton_false_;
Type* singleton_true_;
- Type* singleton_zero_;
- Type* singleton_one_;
- Type* zero_or_one_;
- Type* zeroish_;
Type* signed32ish_;
Type* unsigned32ish_;
Type* falsish_;
Type* truish_;
- LazyTypeCache* const cache_;
DISALLOW_COPY_AND_ASSIGN(Typer);
};
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698