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

Unified Diff: runtime/vm/kernel_to_il.h

Issue 2512653002: Merge of source position information from kernel-sdk. (Closed)
Patch Set: Changed how GetTokenLocation was called back to original to fix failing failing tests. Created 4 years, 1 month 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
« no previous file with comments | « runtime/vm/kernel_reader.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel_to_il.h
diff --git a/runtime/vm/kernel_to_il.h b/runtime/vm/kernel_to_il.h
index 5f2539b1b6dffb4c075644f11c68ce95e6af3e32..3f9db3e994e2d13ff2dd6c96f0b8ce48088c2085 100644
--- a/runtime/vm/kernel_to_il.h
+++ b/runtime/vm/kernel_to_il.h
@@ -753,17 +753,19 @@ class FlowGraphBuilder : public TreeVisitor {
Fragment CreateArray();
Fragment Goto(JoinEntryInstr* destination);
Fragment IntConstant(int64_t value);
- Fragment InstanceCall(const dart::String& name,
+ Fragment InstanceCall(TokenPosition position,
+ const dart::String& name,
Token::Kind kind,
intptr_t argument_count,
intptr_t num_args_checked = 1);
- Fragment InstanceCall(const dart::String& name,
+ Fragment InstanceCall(TokenPosition position,
+ const dart::String& name,
Token::Kind kind,
intptr_t argument_count,
const Array& argument_names,
intptr_t num_args_checked = 1);
Fragment ClosureCall(int argument_count, const Array& argument_names);
- Fragment ThrowException();
+ Fragment ThrowException(TokenPosition position);
Fragment RethrowException(int catch_try_index);
Fragment LoadClassId();
Fragment LoadField(const dart::Field& field);
@@ -780,8 +782,11 @@ class FlowGraphBuilder : public TreeVisitor {
Fragment NativeCall(const dart::String* name, const Function* function);
Fragment PushArgument();
Fragment Return();
- Fragment StaticCall(const Function& target, intptr_t argument_count);
- Fragment StaticCall(const Function& target,
+ Fragment StaticCall(TokenPosition position,
+ const Function& target,
+ intptr_t argument_count);
+ Fragment StaticCall(TokenPosition position,
+ const Function& target,
intptr_t argument_count,
const Array& argument_names);
Fragment StoreIndexed(intptr_t class_id);
« no previous file with comments | « runtime/vm/kernel_reader.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698