Index: runtime/vm/intermediate_language_mips.cc |
diff --git a/runtime/vm/intermediate_language_mips.cc b/runtime/vm/intermediate_language_mips.cc |
index ad54212e088f5a3d93710ccfb7ab1ae959745d78..79736b9ca95932e755c077ea9b4fc3905afea8db 100644 |
--- a/runtime/vm/intermediate_language_mips.cc |
+++ b/runtime/vm/intermediate_language_mips.cc |
@@ -418,7 +418,7 @@ LocationSummary* AssertBooleanInstr::MakeLocationSummary(Zone* zone, |
static void EmitAssertBoolean(Register reg, |
- intptr_t token_pos, |
+ TokenPosition token_pos, |
intptr_t deopt_id, |
LocationSummary* locs, |
FlowGraphCompiler* compiler) { |
@@ -1851,7 +1851,7 @@ class BoxAllocationSlowPath : public SlowPathCode { |
locs->live_registers()->Remove(Location::RegisterLocation(result_)); |
compiler->SaveLiveRegisters(locs); |
- compiler->GenerateCall(Token::kNoSourcePos, // No token position. |
+ compiler->GenerateCall(TokenPosition::kNoSource, // No token position. |
stub_entry, |
RawPcDescriptors::kOther, |
locs); |
@@ -2725,7 +2725,7 @@ class CheckStackOverflowSlowPath : public SlowPathCode { |
// In unoptimized code, record loop stack checks as possible OSR entries. |
compiler->AddCurrentDescriptor(RawPcDescriptors::kOsrEntry, |
instruction_->deopt_id(), |
- 0); // No token position. |
+ TokenPosition::kNoSource); |
} |
compiler->pending_deoptimization_env_ = NULL; |
compiler->RestoreLiveRegisters(instruction_->locs()); |
@@ -5381,7 +5381,7 @@ void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
// may be inserted before this instruction. |
compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt, |
GetDeoptId(), |
- Token::kNoSourcePos); |
+ TokenPosition::kNoSource); |
} |
if (HasParallelMove()) { |
compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); |
@@ -5583,7 +5583,7 @@ void GrowRegExpStackInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
__ LoadObject(TMP, Object::null_object()); |
__ sw(TMP, Address(SP, 1 * kWordSize)); |
__ sw(typed_data, Address(SP, 0 * kWordSize)); |
- compiler->GenerateRuntimeCall(Token::kNoSourcePos, // No token position. |
+ compiler->GenerateRuntimeCall(TokenPosition::kNoSource, |
deopt_id(), |
kGrowRegExpStackRuntimeEntry, |
1, |