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

Unified Diff: runtime/vm/intermediate_language_arm.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
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_arm.cc
diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc
index 1473adad61a6146667a7e2c9e3339c095d56b95f..2be4d9a86e0cd21e5d2edc43cac65416938f5407 100644
--- a/runtime/vm/intermediate_language_arm.cc
+++ b/runtime/vm/intermediate_language_arm.cc
@@ -369,7 +369,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) {
@@ -1826,7 +1826,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);
@@ -2897,7 +2897,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());
@@ -6643,7 +6643,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());
@@ -6846,7 +6846,7 @@ void GrowRegExpStackInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
const Register result = locs()->out(0).reg();
__ PushObject(Object::null_object());
__ Push(typed_data);
- compiler->GenerateRuntimeCall(Token::kNoSourcePos, // No token position.
+ compiler->GenerateRuntimeCall(TokenPosition::kNoSource,
deopt_id(),
kGrowRegExpStackRuntimeEntry,
1,
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698