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

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

Issue 618803003: Refine expression typing, esp. by propagating range information. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« 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/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 18 matching lines...) Expand all
29 Zone* zone() { return zone_; } 29 Zone* zone() { return zone_; }
30 Isolate* isolate() { return zone_->isolate(); } 30 Isolate* isolate() { return zone_->isolate(); }
31 31
32 private: 32 private:
33 class Visitor; 33 class Visitor;
34 class RunVisitor; 34 class RunVisitor;
35 class NarrowVisitor; 35 class NarrowVisitor;
36 class WidenVisitor; 36 class WidenVisitor;
37 37
38 Zone* zone_; 38 Zone* zone_;
39 Type* negative_signed32;
40 Type* non_negative_signed32;
41 Type* undefined_or_null;
42 Type* singleton_false;
43 Type* singleton_true;
44 Type* singleton_zero;
45 Type* singleton_one;
46 Type* zero_or_one;
47 Type* zeroish;
48 Type* falsish;
49 Type* integer;
39 Type* number_fun0_; 50 Type* number_fun0_;
40 Type* number_fun1_; 51 Type* number_fun1_;
41 Type* number_fun2_; 52 Type* number_fun2_;
42 Type* weakint_fun1_; 53 Type* weakint_fun1_;
43 Type* imul_fun_; 54 Type* imul_fun_;
44 Type* random_fun_; 55 Type* random_fun_;
45 Type* array_buffer_fun_; 56 Type* array_buffer_fun_;
46 Type* int8_array_fun_; 57 Type* int8_array_fun_;
47 Type* int16_array_fun_; 58 Type* int16_array_fun_;
48 Type* int32_array_fun_; 59 Type* int32_array_fun_;
49 Type* uint8_array_fun_; 60 Type* uint8_array_fun_;
50 Type* uint16_array_fun_; 61 Type* uint16_array_fun_;
51 Type* uint32_array_fun_; 62 Type* uint32_array_fun_;
52 Type* float32_array_fun_; 63 Type* float32_array_fun_;
53 Type* float64_array_fun_; 64 Type* float64_array_fun_;
54 }; 65 };
55 } 66 }
56 } 67 }
57 } // namespace v8::internal::compiler 68 } // namespace v8::internal::compiler
58 69
59 #endif // V8_COMPILER_TYPER_H_ 70 #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