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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

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.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index ecc3350bdb83e2f304de54910d95d89f55065812..590c437630ee51f83966c6b3feedec4861544736 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -1128,7 +1128,7 @@ void FlowGraphOptimizer::AddCheckSmi(Definition* to_check,
Instruction* FlowGraphOptimizer::GetCheckClass(Definition* to_check,
const ICData& unary_checks,
intptr_t deopt_id,
- intptr_t token_pos) {
+ TokenDescriptor token_pos) {
if ((unary_checks.NumberOfUsedChecks() == 1) &&
unary_checks.HasReceiverClassId(kSmiCid)) {
return new(Z) CheckSmiInstr(new(Z) Value(to_check),
@@ -1282,7 +1282,7 @@ bool FlowGraphOptimizer::InlineSetIndexed(
const Function& target,
Instruction* call,
Definition* receiver,
- intptr_t token_pos,
+ TokenDescriptor token_pos,
const ICData& value_check,
TargetEntryInstr** entry,
Definition** last) {
@@ -1453,7 +1453,7 @@ bool FlowGraphOptimizer::TryInlineRecognizedMethod(intptr_t receiver_cid,
const Function& target,
Instruction* call,
Definition* receiver,
- intptr_t token_pos,
+ TokenDescriptor token_pos,
const ICData& ic_data,
TargetEntryInstr** entry,
Definition** last) {

Powered by Google App Engine
This is Rietveld 408576698