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

Unified Diff: src/arm/assembler-arm-inl.h

Issue 2869683004: [arm] Share constant pool entries in snapshot. (Closed)
Patch Set: Update tools/v8heapconst.py Created 3 years, 7 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
Index: src/arm/assembler-arm-inl.h
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h
index b5a59bb47646946681017cf703e08e1d7fa2209c..b2ab940bd2c01a6e5f4d6384e4261c83439be3df 100644
--- a/src/arm/assembler-arm-inl.h
+++ b/src/arm/assembler-arm-inl.h
@@ -400,11 +400,7 @@ void Assembler::deserialization_set_target_internal_reference_at(
bool Assembler::is_constant_pool_load(Address pc) {
- if (CpuFeatures::IsSupported(ARMv7)) {
- return !Assembler::IsMovW(Memory::int32_at(pc));
- } else {
- return !Assembler::IsMovImmed(Memory::int32_at(pc));
- }
+ return IsLdrPcImmediateOffset(Memory::int32_at(pc));
}
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/assembler.h » ('j') | src/disassembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698