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

Unified Diff: runtime/vm/assembler_arm.cc

Issue 1846063002: - Fix the hash code for raw objects that are added into the object pool (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix Created 4 years, 9 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/assembler.cc ('k') | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.cc
diff --git a/runtime/vm/assembler_arm.cc b/runtime/vm/assembler_arm.cc
index 6f8cf47916d3a3531c6ea9a85d539cff2188f9b3..41ba7f5253134c53176b16081b202fe217473479 100644
--- a/runtime/vm/assembler_arm.cc
+++ b/runtime/vm/assembler_arm.cc
@@ -2720,7 +2720,7 @@ void Assembler::Branch(const StubEntry& stub_entry,
Patchability patchable,
Register pp,
Condition cond) {
- const Code& target_code = Code::Handle(stub_entry.code());
+ const Code& target_code = Code::ZoneHandle(stub_entry.code());
const int32_t offset = ObjectPool::element_offset(
object_pool_wrapper_.FindObject(target_code, patchable));
LoadWordFromPoolOffset(CODE_REG, offset - kHeapObjectTag, pp, cond);
@@ -2744,7 +2744,7 @@ void Assembler::BranchLink(const Code& target, Patchability patchable) {
void Assembler::BranchLink(const StubEntry& stub_entry,
Patchability patchable) {
- const Code& code = Code::Handle(stub_entry.code());
+ const Code& code = Code::ZoneHandle(stub_entry.code());
BranchLink(code, patchable);
}
@@ -2763,7 +2763,7 @@ void Assembler::BranchLinkToRuntime() {
void Assembler::BranchLinkWithEquivalence(const StubEntry& stub_entry,
const Object& equivalence) {
- const Code& target = Code::Handle(stub_entry.code());
+ const Code& target = Code::ZoneHandle(stub_entry.code());
// Make sure that class CallPattern is able to patch the label referred
// to by this code sequence.
// For added code robustness, use 'blx lr' in a patchable sequence and
@@ -2783,7 +2783,7 @@ void Assembler::BranchLink(const ExternalLabel* label) {
void Assembler::BranchLinkPatchable(const StubEntry& stub_entry) {
- BranchLinkPatchable(Code::Handle(stub_entry.code()));
+ BranchLinkPatchable(Code::ZoneHandle(stub_entry.code()));
}
« no previous file with comments | « runtime/vm/assembler.cc ('k') | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698