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

Unified Diff: runtime/vm/intermediate_language.h

Issue 1561833006: Improve token position for the entry CheckStackoverflowInstr (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/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index 76840bb8dc56cb9c7a22b4af1ef4398861681452..f998af80965e321773a784763c69c89998390219 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -2541,7 +2541,8 @@ class ConstraintInstr : public TemplateDefinition<1, NoThrow> {
class ConstantInstr : public TemplateDefinition<0, NoThrow, Pure> {
public:
- explicit ConstantInstr(const Object& value);
+ ConstantInstr(const Object& value,
+ intptr_t token_pos = Scanner::kNoSourcePos);
DECLARE_INSTRUCTION(Constant)
virtual CompileType ComputeType() const;
@@ -2560,6 +2561,7 @@ class ConstantInstr : public TemplateDefinition<0, NoThrow, Pure> {
private:
const Object& value_;
+ const intptr_t token_pos_;
DISALLOW_COPY_AND_ASSIGN(ConstantInstr);
};
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698