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

Side by Side Diff: src/compiler/typer.h

Issue 1008923004: [turbofan] Turn weaken min/max limits for typer into constants. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_TYPER_H_ 5 #ifndef V8_COMPILER_TYPER_H_
6 #define V8_COMPILER_TYPER_H_ 6 #define V8_COMPILER_TYPER_H_
7 7
8 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
9 #include "src/compiler/opcodes.h"
10 #include "src/types.h" 9 #include "src/types.h"
11 10
12 namespace v8 { 11 namespace v8 {
13 namespace internal { 12 namespace internal {
14 namespace compiler { 13 namespace compiler {
15 14
16 // Forward declarations. 15 // Forward declarations.
17 class LazyTypeCache; 16 class LazyTypeCache;
18 17
19 18
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 Type* truish; 55 Type* truish;
57 Type* integer; 56 Type* integer;
58 Type* weakint; 57 Type* weakint;
59 Type* number_fun0_; 58 Type* number_fun0_;
60 Type* number_fun1_; 59 Type* number_fun1_;
61 Type* number_fun2_; 60 Type* number_fun2_;
62 Type* weakint_fun1_; 61 Type* weakint_fun1_;
63 Type* random_fun_; 62 Type* random_fun_;
64 LazyTypeCache* cache_; 63 LazyTypeCache* cache_;
65 64
66 ZoneVector<double> weaken_min_limits_;
67 ZoneVector<double> weaken_max_limits_;
68 DISALLOW_COPY_AND_ASSIGN(Typer); 65 DISALLOW_COPY_AND_ASSIGN(Typer);
69 }; 66 };
70 67
71 } // namespace compiler 68 } // namespace compiler
72 } // namespace internal 69 } // namespace internal
73 } // namespace v8 70 } // namespace v8
74 71
75 #endif // V8_COMPILER_TYPER_H_ 72 #endif // V8_COMPILER_TYPER_H_
OLDNEW
« 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