Fix BytecodeArray printing constant pool twice
Pass correct stream to the print for the constant_pool so the debug print doesn't go the stdout. Change-Id: I12952e5fa52e4890beaa490601f053128fd2b89a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1672938 Auto-Submit: Dan Elphick <delphick@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#62332}
This commit is contained in:
parent
0f0b31744f
commit
1a6123bc90
@ -857,7 +857,7 @@ void BytecodeArray::Disassemble(std::ostream& os) {
|
||||
os << "Constant pool (size = " << constant_pool().length() << ")\n";
|
||||
#ifdef OBJECT_PRINT
|
||||
if (constant_pool().length() > 0) {
|
||||
constant_pool().Print();
|
||||
constant_pool().Print(os);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user