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

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

Issue 662513005: [turbofan] delete graph and schedule before register allocation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase 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
« src/compiler/pipeline.cc ('K') | « src/compiler/source-position.h ('k') | no next file » | 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"
11 #include "src/compiler/opcodes.h" 11 #include "src/compiler/opcodes.h"
12 #include "src/types.h" 12 #include "src/types.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 namespace compiler { 16 namespace compiler {
17 17
18 class Typer { 18 class Typer : public ZoneObject {
19 public: 19 public:
20 explicit Typer(Graph* graph, MaybeHandle<Context> context); 20 explicit Typer(Graph* graph, MaybeHandle<Context> context);
21 ~Typer(); 21 ~Typer();
22 22
23 void Run(); 23 void Run();
24 void Narrow(Node* node); 24 void Narrow(Node* node);
25 25
26 Graph* graph() { return graph_; } 26 Graph* graph() { return graph_; }
27 MaybeHandle<Context> context() { return context_; } 27 MaybeHandle<Context> context() { return context_; }
28 Zone* zone() { return graph_->zone(); } 28 Zone* zone() { return graph_->zone(); }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 Type* random_fun_; 60 Type* random_fun_;
61 Type* array_buffer_fun_; 61 Type* array_buffer_fun_;
62 Type* int8_array_fun_; 62 Type* int8_array_fun_;
63 Type* int16_array_fun_; 63 Type* int16_array_fun_;
64 Type* int32_array_fun_; 64 Type* int32_array_fun_;
65 Type* uint8_array_fun_; 65 Type* uint8_array_fun_;
66 Type* uint16_array_fun_; 66 Type* uint16_array_fun_;
67 Type* uint32_array_fun_; 67 Type* uint32_array_fun_;
68 Type* float32_array_fun_; 68 Type* float32_array_fun_;
69 Type* float64_array_fun_; 69 Type* float64_array_fun_;
70
71 DISALLOW_COPY_AND_ASSIGN(Typer);
70 }; 72 };
71 } 73 }
72 } 74 }
73 } // namespace v8::internal::compiler 75 } // namespace v8::internal::compiler
74 76
75 #endif // V8_COMPILER_TYPER_H_ 77 #endif // V8_COMPILER_TYPER_H_
OLDNEW
« src/compiler/pipeline.cc ('K') | « src/compiler/source-position.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698