| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index ed8b1c6d998c0d1f8aabc172d73ba3f9da1d87ab..c7a107328c374baede768004606e1568133174b2 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -533,6 +533,9 @@ static void CheckCodeForUnsafeLiteral(Handle<JSFunction> f) {
|
| int decode_size =
|
| Min(f->code()->instruction_size(),
|
| static_cast<int>(f->code()->back_edge_table_offset()));
|
| + if (FLAG_enable_embedded_constant_pool) {
|
| + decode_size = Min(decode_size, f->code()->constant_pool_offset());
|
| + }
|
| Address end = pc + decode_size;
|
|
|
| v8::internal::EmbeddedVector<char, 128> decode_buffer;
|
|
|