Commit 027cbf8d authored by titzer's avatar titzer Committed by Commit bot

[turbofan] Initialize less frequently used types in typer.cc lazily.

R=jarin@chromium.org
BUG=

Review URL: https://codereview.chromium.org/771683002

Cr-Commit-Position: refs/heads/master@{#25602}
parent 007028cd
This diff is collapsed.
......@@ -15,6 +15,8 @@ namespace v8 {
namespace internal {
namespace compiler {
struct LazyTypeCache;
class Typer {
public:
explicit Typer(Graph* graph, MaybeHandle<Context> context);
......@@ -60,18 +62,8 @@ class Typer {
Type* number_fun1_;
Type* number_fun2_;
Type* weakint_fun1_;
Type* imul_fun_;
Type* clz32_fun_;
Type* random_fun_;
Type* array_buffer_fun_;
Type* int8_array_fun_;
Type* int16_array_fun_;
Type* int32_array_fun_;
Type* uint8_array_fun_;
Type* uint16_array_fun_;
Type* uint32_array_fun_;
Type* float32_array_fun_;
Type* float64_array_fun_;
LazyTypeCache* cache_;
ZoneVector<Handle<Object> > weaken_min_limits_;
ZoneVector<Handle<Object> > weaken_max_limits_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment