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

Unified Diff: src/objects.h

Issue 194793002: [v8-dev] ARM: safepoints frame optimization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index cd8999c41a3e02b0dfb418ac1ba44957c5364331..2cb43e965e55a84f99a25af00db8fded13d93e3d 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5247,6 +5247,13 @@ class Code: public HeapObject {
inline int prologue_offset();
inline void set_prologue_offset(int offset);
+#if V8_TARGET_ARCH_ARM
+ inline RegList registers_mask();
+ inline void set_registers_mask(RegList mask);
+ inline RegList double_registers_mask();
+ inline void set_double_registers_mask(RegList mask);
+#endif
+
// Unchecked accessors to be used during GC.
inline ByteArray* unchecked_relocation_info();
@@ -5560,7 +5567,13 @@ class Code: public HeapObject {
static const int kPrologueOffset = kKindSpecificFlags2Offset + kIntSize;
static const int kConstantPoolOffset = kPrologueOffset + kPointerSize;
+#if V8_TARGET_ARCH_ARM
+ static const int kCoresMaskOffset = kConstantPoolOffset + kIntSize;
+ static const int kDoublesMaskOffset = kCoresMaskOffset + kRegListSize;
+ static const int kHeaderPaddingStart = kDoublesMaskOffset + kRegListSize;
+#else
static const int kHeaderPaddingStart = kConstantPoolOffset + kIntSize;
+#endif
// Add padding to align the instruction start following right after
// the Code object header.
« src/arm/assembler-arm.h ('K') | « src/lithium-allocator-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698