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

Unified Diff: src/v8globals.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/v8globals.h
diff --git a/src/v8globals.h b/src/v8globals.h
index 7d8d1b7e400794b7105314445d4bde0fad09ab29..d47f48524dd44e66cc239e3208f6271f058bef0f 100644
--- a/src/v8globals.h
+++ b/src/v8globals.h
@@ -219,6 +219,15 @@ enum VisitMode {
enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE };
+#if V8_TARGET_ARCH_A64
+typedef uint64_t RegList;
+#else
+typedef uint32_t RegList;
+#endif
+const RegList kRegListEmpty = 0;
+const int kRegListSize = sizeof(RegList); // NOLINT
+
+
// A CodeDesc describes a buffer holding instructions and relocation
// information. The instructions start at the beginning of the buffer
// and grow forward, the relocation information starts at the end of
@@ -239,6 +248,8 @@ struct CodeDesc {
int instr_size;
int reloc_size;
Assembler* origin;
+ RegList registers_mask;
+ RegList double_registers_mask;
};
« src/arm/assembler-arm.h ('K') | « src/objects-inl.h ('k') | test/cctest/test-reloc-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698