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

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

Issue 1473593002: [turbofan] Properly recognize and optimize comparisons with the_hole. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | « src/compiler/js-typed-lowering.cc ('k') | 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/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
10 #include "src/types.h" 10 #include "src/types.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 Isolate* const isolate_; 51 Isolate* const isolate_;
52 Graph* const graph_; 52 Graph* const graph_;
53 Flags const flags_; 53 Flags const flags_;
54 CompilationDependencies* const dependencies_; 54 CompilationDependencies* const dependencies_;
55 Type::FunctionType* function_type_; 55 Type::FunctionType* function_type_;
56 Decorator* decorator_; 56 Decorator* decorator_;
57 TypeCache const& cache_; 57 TypeCache const& cache_;
58 58
59 Type* singleton_false_; 59 Type* singleton_false_;
60 Type* singleton_true_; 60 Type* singleton_true_;
61 Type* singleton_the_hole_;
61 Type* signed32ish_; 62 Type* signed32ish_;
62 Type* unsigned32ish_; 63 Type* unsigned32ish_;
63 Type* falsish_; 64 Type* falsish_;
64 Type* truish_; 65 Type* truish_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(Typer); 67 DISALLOW_COPY_AND_ASSIGN(Typer);
67 }; 68 };
68 69
69 DEFINE_OPERATORS_FOR_FLAGS(Typer::Flags) 70 DEFINE_OPERATORS_FOR_FLAGS(Typer::Flags)
70 71
71 } // namespace compiler 72 } // namespace compiler
72 } // namespace internal 73 } // namespace internal
73 } // namespace v8 74 } // namespace v8
74 75
75 #endif // V8_COMPILER_TYPER_H_ 76 #endif // V8_COMPILER_TYPER_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698