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

Unified Diff: src/compiler/arm/code-generator-arm.cc

Issue 1131783003: 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
Index: src/compiler/arm/code-generator-arm.cc
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc
index 306c347f8a16cff03d2ffad3cffa470e7dd6f1e1..8ca959535178075a0d7045f27a195e874d8afda7 100644
--- a/src/compiler/arm/code-generator-arm.cc
+++ b/src/compiler/arm/code-generator-arm.cc
@@ -926,7 +926,7 @@ void CodeGenerator::AssemblePrologue() {
int stack_slots = frame()->GetSpillSlotCount();
if (descriptor->kind() == CallDescriptor::kCallAddress) {
bool saved_pp;
- if (FLAG_enable_ool_constant_pool) {
+ if (FLAG_enable_embedded_constant_pool) {
__ Push(lr, fp, pp);
// Adjust FP to point to saved FP.
__ sub(fp, sp, Operand(StandardFrameConstants::kConstantPoolOffset));
@@ -1185,6 +1185,15 @@ void CodeGenerator::AssembleSwap(InstructionOperand* source,
}
+#if V8_EMBEDDED_CONSTANT_POOL
+
+void CodeGenerator::AssembleConstantPool() {
+ DCHECK(FLAG_enable_embedded_constant_pool);
+ __ EmitConstantPool();
+}
+
+#endif // V8_EMBEDDED_CONSTANT_POOL
+
void CodeGenerator::AssembleJumpTable(Label** targets, size_t target_count) {
// On 32-bit ARM we emit the jump tables inline.
UNREACHABLE();

Powered by Google App Engine
This is Rietveld 408576698