Index: runtime/vm/flow_graph_compiler_arm.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler_arm.cc (revision 38030) |
+++ runtime/vm/flow_graph_compiler_arm.cc (working copy) |
@@ -1106,7 +1106,7 @@ |
void FlowGraphCompiler::GenerateCall(intptr_t token_pos, |
const ExternalLabel* label, |
- PcDescriptors::Kind kind, |
+ RawPcDescriptors::Kind kind, |
LocationSummary* locs) { |
__ BranchLinkPatchable(label); |
AddCurrentDescriptor(kind, Isolate::kNoDeoptId, token_pos); |
@@ -1117,7 +1117,7 @@ |
void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id, |
intptr_t token_pos, |
const ExternalLabel* label, |
- PcDescriptors::Kind kind, |
+ RawPcDescriptors::Kind kind, |
LocationSummary* locs) { |
__ BranchLinkPatchable(label); |
AddCurrentDescriptor(kind, deopt_id, token_pos); |
@@ -1130,7 +1130,8 @@ |
} else { |
// Add deoptimization continuation point after the call and before the |
// arguments are removed. |
- AddCurrentDescriptor(PcDescriptors::kDeopt, deopt_id_after, token_pos); |
+ AddCurrentDescriptor(RawPcDescriptors::kDeopt, |
+ deopt_id_after, token_pos); |
} |
} |
@@ -1141,7 +1142,7 @@ |
intptr_t argument_count, |
LocationSummary* locs) { |
__ CallRuntime(entry, argument_count); |
- AddCurrentDescriptor(PcDescriptors::kOther, deopt_id, token_pos); |
+ AddCurrentDescriptor(RawPcDescriptors::kOther, deopt_id, token_pos); |
RecordSafepoint(locs); |
if (deopt_id != Isolate::kNoDeoptId) { |
// Marks either the continuation point in unoptimized code or the |
@@ -1152,7 +1153,7 @@ |
} else { |
// Add deoptimization continuation point after the call and before the |
// arguments are removed. |
- AddCurrentDescriptor(PcDescriptors::kDeopt, |
+ AddCurrentDescriptor(RawPcDescriptors::kDeopt, |
deopt_id_after, |
token_pos); |
} |
@@ -1196,7 +1197,7 @@ |
GenerateDartCall(deopt_id, |
token_pos, |
target_label, |
- PcDescriptors::kIcCall, |
+ RawPcDescriptors::kIcCall, |
locs); |
__ Drop(argument_count); |
} |
@@ -1214,7 +1215,7 @@ |
GenerateDartCall(deopt_id, |
token_pos, |
target_label, |
- PcDescriptors::kIcCall, |
+ RawPcDescriptors::kIcCall, |
locs); |
__ Drop(argument_count); |
#if defined(DEBUG) |
@@ -1277,7 +1278,8 @@ |
__ LoadObject(R4, arguments_descriptor); |
__ AddImmediate(R1, Instructions::HeaderSize() - kHeapObjectTag); |
__ blx(R1); |
- AddCurrentDescriptor(PcDescriptors::kOther, Isolate::kNoDeoptId, token_pos); |
+ AddCurrentDescriptor(RawPcDescriptors::kOther, |
+ Isolate::kNoDeoptId, token_pos); |
RecordSafepoint(locs); |
AddDeoptIndexAtCall(Isolate::ToDeoptAfter(deopt_id), token_pos); |
__ Drop(argument_count); |
@@ -1304,7 +1306,7 @@ |
GenerateDartCall(deopt_id, |
token_pos, |
&target_label, |
- PcDescriptors::kUnoptStaticCall, |
+ RawPcDescriptors::kUnoptStaticCall, |
locs); |
__ Drop(argument_count); |
#if defined(DEBUG) |
@@ -1326,7 +1328,7 @@ |
GenerateDartCall(deopt_id, |
token_pos, |
&StubCode::CallStaticFunctionLabel(), |
- PcDescriptors::kOptStaticCall, |
+ RawPcDescriptors::kOptStaticCall, |
locs); |
AddStaticCallTarget(function); |
__ Drop(argument_count); |
@@ -1349,7 +1351,7 @@ |
&StubCode::UnoptimizedIdenticalWithNumberCheckLabel()); |
} |
if (token_pos != Scanner::kNoSourcePos) { |
- AddCurrentDescriptor(PcDescriptors::kRuntimeCall, |
+ AddCurrentDescriptor(RawPcDescriptors::kRuntimeCall, |
Isolate::kNoDeoptId, |
token_pos); |
} |
@@ -1379,7 +1381,7 @@ |
&StubCode::UnoptimizedIdenticalWithNumberCheckLabel()); |
} |
if (token_pos != Scanner::kNoSourcePos) { |
- AddCurrentDescriptor(PcDescriptors::kRuntimeCall, |
+ AddCurrentDescriptor(RawPcDescriptors::kRuntimeCall, |
Isolate::kNoDeoptId, |
token_pos); |
} |
@@ -1503,7 +1505,7 @@ |
GenerateDartCall(deopt_id, |
token_index, |
&StubCode::CallStaticFunctionLabel(), |
- PcDescriptors::kOptStaticCall, |
+ RawPcDescriptors::kOptStaticCall, |
locs); |
const Function& function = *sorted[i].target; |
AddStaticCallTarget(function); |