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

Unified Diff: runtime/vm/intermediate_language.h

Issue 9523001: Teach the flow graph compiler to play nice with the debugger (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 4720)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -429,11 +429,13 @@
class ReturnInstr : public Instruction {
public:
- explicit ReturnInstr(Value* value) : Instruction(), value_(value) { }
+ explicit ReturnInstr(Value* value, intptr_t token_index)
srdjan 2012/02/28 21:37:40 Remove explicit
hausner 2012/02/28 21:42:34 Done.
+ : Instruction(), value_(value), token_index_(token_index) { }
DECLARE_INSTRUCTION(Return)
Value* value() const { return value_; }
+ intptr_t token_index() const { return token_index_; }
virtual void SetSuccessor(Instruction* instr) { UNREACHABLE(); }
@@ -441,6 +443,7 @@
private:
Value* value_;
+ intptr_t token_index_;
DISALLOW_COPY_AND_ASSIGN(ReturnInstr);
};
« runtime/vm/flow_graph_compiler_x64.cc ('K') | « runtime/vm/flow_graph_compiler_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698