Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 6341) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -341,6 +341,11 @@ |
__ jmp(code->exit()); |
} |
+ // Force constant pool emission at the end of deferred code to make |
+ // sure that no constant pools are emitted after the official end of |
+ // the instruction sequence. |
+ masm()->CheckConstPool(true, false); |
+ |
// Deferred code is the last part of the instruction sequence. Mark |
// the generated code as done unless we bailed out. |
if (!is_aborted()) status_ = DONE; |