mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
VM+RISC: Share object pool entries for allocation stubs.
R=fschneider@google.com Review URL: https://codereview.chromium.org/2391723002 .
This commit is contained in:
parent
5b667a8c9f
commit
2fddd90a22
6 changed files with 12 additions and 9 deletions
|
@ -1119,7 +1119,7 @@ void FlowGraphCompiler::GenerateCall(TokenPosition token_pos,
|
|||
const StubEntry& stub_entry,
|
||||
RawPcDescriptors::Kind kind,
|
||||
LocationSummary* locs) {
|
||||
__ BranchLinkPatchable(stub_entry);
|
||||
__ BranchLink(stub_entry);
|
||||
AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos);
|
||||
RecordSafepoint(locs);
|
||||
}
|
||||
|
|
|
@ -1113,7 +1113,7 @@ void FlowGraphCompiler::GenerateCall(TokenPosition token_pos,
|
|||
const StubEntry& stub_entry,
|
||||
RawPcDescriptors::Kind kind,
|
||||
LocationSummary* locs) {
|
||||
__ BranchLinkPatchable(stub_entry);
|
||||
__ BranchLink(stub_entry);
|
||||
AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos);
|
||||
RecordSafepoint(locs);
|
||||
}
|
||||
|
|
|
@ -1133,7 +1133,7 @@ void FlowGraphCompiler::GenerateCall(TokenPosition token_pos,
|
|||
const StubEntry& stub_entry,
|
||||
RawPcDescriptors::Kind kind,
|
||||
LocationSummary* locs) {
|
||||
__ BranchLinkPatchable(stub_entry);
|
||||
__ BranchLink(stub_entry);
|
||||
AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos);
|
||||
RecordSafepoint(locs);
|
||||
}
|
||||
|
|
|
@ -6964,8 +6964,9 @@ void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|||
|
||||
void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
||||
ASSERT(!compiler->is_optimizing());
|
||||
compiler->GenerateCall(
|
||||
token_pos(), *StubCode::DebugStepCheck_entry(), stub_kind_, locs());
|
||||
__ BranchLinkPatchable(*StubCode::DebugStepCheck_entry());
|
||||
compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos());
|
||||
compiler->RecordSafepoint(locs());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5751,8 +5751,9 @@ void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|||
|
||||
void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
||||
ASSERT(!compiler->is_optimizing());
|
||||
compiler->GenerateCall(
|
||||
token_pos(), *StubCode::DebugStepCheck_entry(), stub_kind_, locs());
|
||||
__ BranchLinkPatchable(*StubCode::DebugStepCheck_entry());
|
||||
compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos());
|
||||
compiler->RecordSafepoint(locs());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5755,8 +5755,9 @@ void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|||
|
||||
void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
||||
ASSERT(!compiler->is_optimizing());
|
||||
compiler->GenerateCall(
|
||||
token_pos(), *StubCode::DebugStepCheck_entry(), stub_kind_, locs());
|
||||
__ BranchLinkPatchable(*StubCode::DebugStepCheck_entry());
|
||||
compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos());
|
||||
compiler->RecordSafepoint(locs());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue