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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 1644793002: Replace intptr_t with TokenDescriptor (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
Index: runtime/vm/flow_graph_optimizer.h
diff --git a/runtime/vm/flow_graph_optimizer.h b/runtime/vm/flow_graph_optimizer.h
index 9d500aaa8984c92107ee54a261851be964308c31..066d3bdf311c4215047789e4e4f17b2a4a685fc2 100644
--- a/runtime/vm/flow_graph_optimizer.h
+++ b/runtime/vm/flow_graph_optimizer.h
@@ -64,7 +64,7 @@ class FlowGraphOptimizer : public FlowGraphVisitor {
const Function& target,
Instruction* call,
Definition* receiver,
- intptr_t token_pos,
+ TokenDescriptor token_pos,
const ICData& ic_data,
TargetEntryInstr** entry,
Definition** last);
@@ -97,7 +97,7 @@ class FlowGraphOptimizer : public FlowGraphVisitor {
const Function& target,
Instruction* call,
Definition* receiver,
- intptr_t token_pos,
+ TokenDescriptor token_pos,
const ICData& value_check,
TargetEntryInstr** entry,
Definition** last);
@@ -201,7 +201,7 @@ class FlowGraphOptimizer : public FlowGraphVisitor {
Instruction* GetCheckClass(Definition* to_check,
const ICData& unary_checks,
intptr_t deopt_id,
- intptr_t token_pos);
+ TokenDescriptor token_pos);
// Insert a Smi check if needed.
void AddCheckSmi(Definition* to_check,

Powered by Google App Engine
This is Rietveld 408576698