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

Unified Diff: runtime/vm/il_printer.h

Issue 10830109: Add type propagation phase in optimizing compiler (work in progress). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/il_printer.h
===================================================================
--- runtime/vm/il_printer.h (revision 10101)
+++ runtime/vm/il_printer.h (working copy)
@@ -28,6 +28,9 @@
};
+class ParsedFunction;
+
+
// Graph printing.
class FlowGraphPrinter : public ValueObject {
public:
@@ -44,6 +47,12 @@
void PrintBlocks();
void PrintInstruction(Instruction* instr);
static void PrintComputation(Computation* comp);
+ static void PrintTypeCheck(const ParsedFunction& parsed_function,
+ intptr_t token_pos,
+ Value* value,
+ const AbstractType& dst_type,
+ const String& dst_name,
+ bool eliminated);
private:
const Function& function_;

Powered by Google App Engine
This is Rietveld 408576698