Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 79f2ef1cae3d0372267975caca0039b66ff6c8b5..45c6c1c6036b28614b2f12d9795616968a404c60 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1423,9 +1423,8 @@ Handle<Code> Factory::NewCode(const CodeDesc& desc, |
code->set_next_code_link(*undefined_value()); |
code->set_handler_table(*empty_fixed_array(), SKIP_WRITE_BARRIER); |
code->set_prologue_offset(prologue_offset); |
- if (FLAG_enable_embedded_constant_pool) { |
- code->set_constant_pool_offset(desc.instr_size - desc.constant_pool_size); |
- } |
+ code->set_constant_pool_offset(desc.instr_size - desc.constant_pool_size); |
+ |
if (code->kind() == Code::OPTIMIZED_FUNCTION) { |
code->set_marked_for_deoptimization(false); |
} |