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

Unified Diff: runtime/vm/kernel_to_il.h

Issue 2680303002: Kernel debugging; service tests (Closed)
Patch Set: New failing test Created 3 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/kernel_to_il.h
diff --git a/runtime/vm/kernel_to_il.h b/runtime/vm/kernel_to_il.h
index 211a61b029c1c2bcb95dbd333bee407bf1cb6bba..56ec5dbd619e564a64c3f4f60a94b923f3e45b67 100644
--- a/runtime/vm/kernel_to_il.h
+++ b/runtime/vm/kernel_to_il.h
@@ -286,6 +286,11 @@ class TranslationHelper {
void ReportError(const char* format, ...);
void ReportError(const Error& prev_error, const char* format, ...);
+ bool ShouldAddDebugInstruction(const Function& function,
Kevin Millikin (Google) 2017/02/08 15:37:53 Why are these in the translation helper instead of
jensj 2017/02/13 14:04:17 I paid to little attention to the name; I just saw
+ TokenPosition position);
+ bool ShouldAddDebugInstruction(Value* value, TokenPosition position);
+ Fragment GetDebugInstruction(TokenPosition position);
Kevin Millikin (Google) 2017/02/08 15:37:53 This one should definitely be in the graph builder
jensj 2017/02/13 14:04:17 Done.
+
private:
// This will mangle [kernel_name] (if necessary) and make the result a symbol.
// The result will be avilable in [name_to_modify] and it is also returned.
@@ -868,10 +873,11 @@ class FlowGraphBuilder : public ExpressionVisitor, public StatementVisitor {
bool is_initialization_store,
StoreBarrierType emit_store_barrier = kEmitStoreBarrier);
Fragment StoreInstanceField(
+ TokenPosition position,
intptr_t offset,
StoreBarrierType emit_store_barrier = kEmitStoreBarrier);
Fragment StoreLocal(TokenPosition position, LocalVariable* variable);
- Fragment StoreStaticField(const dart::Field& field);
+ Fragment StoreStaticField(TokenPosition position, const dart::Field& field);
Fragment StringInterpolate(TokenPosition position);
Fragment ThrowTypeError();
Fragment ThrowNoSuchMethodError();

Powered by Google App Engine
This is Rietveld 408576698