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

Unified Diff: src/globals.h

Issue 1155703006: Revert of Embedded constant pools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/frames.cc ('k') | src/heap-snapshot-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 23cdbedb6ebcbe98ba49399d619581270fe4da44..7fdcc26cea74de84912a03291a9ce9b4b1015b98 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -74,13 +74,8 @@
#endif
#endif
-// Determine whether the architecture uses an embedded constant pool
-// (contiguous constant pool embedded in code object).
-#if V8_TARGET_ARCH_PPC
-#define V8_EMBEDDED_CONSTANT_POOL 1
-#else
-#define V8_EMBEDDED_CONSTANT_POOL 0
-#endif
+// Determine whether the architecture uses an out-of-line constant pool.
+#define V8_OOL_CONSTANT_POOL 0
#ifdef V8_TARGET_ARCH_ARM
// Set stack limit lower for ARM than for other architectures because
@@ -503,15 +498,13 @@
// 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
-// the buffer and grows backward. A constant pool may exist at the
-// end of the instructions.
+// the buffer and grows backward.
//
-// |<--------------- buffer_size ----------------------------------->|
-// |<------------- instr_size ---------->| |<-- reloc_size -->|
-// | |<- const_pool_size ->| |
-// +=====================================+========+==================+
-// | instructions | data | free | reloc info |
-// +=====================================+========+==================+
+// |<--------------- buffer_size ---------------->|
+// |<-- instr_size -->| |<-- reloc_size -->|
+// +==================+========+==================+
+// | instructions | free | reloc info |
+// +==================+========+==================+
// ^
// |
// buffer
@@ -521,7 +514,6 @@
int buffer_size;
int instr_size;
int reloc_size;
- int constant_pool_size;
Assembler* origin;
};
« no previous file with comments | « src/frames.cc ('k') | src/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698