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

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

Issue 509343002: Better typing and type verification (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Drop typedness from graph 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
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_PIPELINE_H_ 5 #ifndef V8_COMPILER_PIPELINE_H_
6 #define V8_COMPILER_PIPELINE_H_ 6 #define V8_COMPILER_PIPELINE_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler.h" 10 #include "src/compiler.h"
11 #include "src/compiler/verifier.h"
11 12
12 // Note: TODO(turbofan) implies a performance improvement opportunity, 13 // Note: TODO(turbofan) implies a performance improvement opportunity,
13 // and TODO(name) implies an incomplete implementation 14 // and TODO(name) implies an incomplete implementation
14 15
15 namespace v8 { 16 namespace v8 {
16 namespace internal { 17 namespace internal {
17 namespace compiler { 18 namespace compiler {
18 19
19 // Clients of this interface shouldn't depend on lots of compiler internals. 20 // Clients of this interface shouldn't depend on lots of compiler internals.
20 class Graph; 21 class Graph;
(...skipping 26 matching lines...) Expand all
47 48
48 private: 49 private:
49 CompilationInfo* info_; 50 CompilationInfo* info_;
50 bool context_specialization_; 51 bool context_specialization_;
51 52
52 CompilationInfo* info() const { return info_; } 53 CompilationInfo* info() const { return info_; }
53 Isolate* isolate() { return info_->isolate(); } 54 Isolate* isolate() { return info_->isolate(); }
54 Zone* zone() { return info_->zone(); } 55 Zone* zone() { return info_->zone(); }
55 56
56 Schedule* ComputeSchedule(Graph* graph); 57 Schedule* ComputeSchedule(Graph* graph);
57 void VerifyAndPrintGraph(Graph* graph, const char* phase); 58 void VerifyAndPrintGraph(Graph* graph, const char* phase,
59 Verifier::Typing = Verifier::TYPED);
58 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, 60 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule,
59 SourcePositionTable* source_positions); 61 SourcePositionTable* source_positions);
60 }; 62 };
61 } 63 }
62 } 64 }
63 } // namespace v8::internal::compiler 65 } // namespace v8::internal::compiler
64 66
65 #endif // V8_COMPILER_PIPELINE_H_ 67 #endif // V8_COMPILER_PIPELINE_H_
OLDNEW
« src/compiler/js-graph.cc ('K') | « src/compiler/opcodes.h ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698