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

Unified Diff: src/objects.cc

Issue 9315032: ARM: Use ubfx and movw instructions to avoid a PC-relative load on Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 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 | « src/objects.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
===================================================================
--- src/objects.cc (revision 10578)
+++ src/objects.cc (working copy)
@@ -8028,6 +8028,18 @@
VisitPointer(rinfo->target_object_address());
}
+
+#ifdef V8_TARGET_ARCH_ARM
+void ObjectVisitor::VisitEmbeddedMapSignature(RelocInfo* rinfo) {
+ ASSERT(rinfo->rmode() == RelocInfo::MAP_SIGNATURE);
+ Object* object = rinfo->target_object();
+ Object* copy = object;
+ VisitPointer(&copy);
+ ASSERT(copy == object);
+}
+#endif
+
+
void ObjectVisitor::VisitExternalReference(RelocInfo* rinfo) {
Address* p = rinfo->target_reference_address();
VisitExternalReferences(p, p + 1);
@@ -8160,6 +8172,9 @@
ASSERT(is_inline_cache_stub());
AssertNoAllocation no_allocation;
int mask = RelocInfo::ModeMask(RelocInfo::EMBEDDED_OBJECT);
+#ifdef V8_TARGET_ARCH_ARM
+ mask |= RelocInfo::ModeMask(RelocInfo::MAP_SIGNATURE);
+#endif
for (RelocIterator it(this, mask); !it.done(); it.next()) {
RelocInfo* info = it.rinfo();
Object* object = info->target_object();
« no previous file with comments | « src/objects.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698