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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 1589643002: Source positions for constructors and lots of async machinery (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
index 94c9444fda7ad756dd179cf1025f3db972977316..4025fe8ed6e7e72b761e9a3d2c66bfe60655b776 100644
--- a/runtime/vm/flow_graph_builder.h
+++ b/runtime/vm/flow_graph_builder.h
@@ -303,16 +303,18 @@ class EffectGraphVisitor : public AstNodeVisitor {
void AddReturnExit(intptr_t token_pos, Value* value);
protected:
- Definition* BuildStoreTemp(const LocalVariable& local, Value* value);
- Definition* BuildStoreExprTemp(Value* value);
- Definition* BuildLoadExprTemp();
+ Definition* BuildStoreTemp(const LocalVariable& local,
+ Value* value,
+ intptr_t token_pos);
+ Definition* BuildStoreExprTemp(Value* value, intptr_t token_pos);
+ Definition* BuildLoadExprTemp(intptr_t token_pos);
Definition* BuildStoreLocal(const LocalVariable& local,
Value* value,
- intptr_t token_pos = Scanner::kNoSourcePos);
+ intptr_t token_pos);
Definition* BuildLoadLocal(const LocalVariable& local,
- intptr_t token_pos = Scanner::kNoSourcePos);
- LoadLocalInstr* BuildLoadThisVar(LocalScope* scope);
+ intptr_t token_pos);
+ LoadLocalInstr* BuildLoadThisVar(LocalScope* scope, intptr_t token_pos);
LoadFieldInstr* BuildNativeGetter(
NativeBodyNode* node,
MethodRecognizer::Kind kind,
@@ -341,7 +343,7 @@ class EffectGraphVisitor : public AstNodeVisitor {
PushArgumentInstr** push_instantiator_type_arguments);
void BuildTypecheckArguments(intptr_t token_pos,
Value** instantiator_type_arguments);
- Value* BuildInstantiator(const Class& instantiator_class);
+ Value* BuildInstantiator(intptr_t token_pos, const Class& instantiator_class);
Value* BuildInstantiatorTypeArguments(intptr_t token_pos,
const Class& instantiator_class,
Value* instantiator);
@@ -428,7 +430,7 @@ class EffectGraphVisitor : public AstNodeVisitor {
void BuildClosureCall(ClosureCallNode* node, bool result_needed);
- Value* BuildNullValue();
+ Value* BuildNullValue(intptr_t token_pos);
// Returns true if the run-time type check can be eliminated.
bool CanSkipTypeCheck(intptr_t token_pos,
@@ -438,8 +440,8 @@ class EffectGraphVisitor : public AstNodeVisitor {
// Helpers for allocating and deallocating temporary locals on top of the
// expression stack.
- LocalVariable* EnterTempLocalScope(Value* value);
- Definition* ExitTempLocalScope(LocalVariable* var);
+ LocalVariable* EnterTempLocalScope(Value* value, intptr_t token_pos);
+ Definition* ExitTempLocalScope(LocalVariable* var, intptr_t token_pos);
void BuildLetTempExpressions(LetNode* node);
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698