summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-03-12 09:01:49 +0100
committerMichaël Zasso <targos@protonmail.com>2019-03-14 18:49:21 +0100
commit7b48713334469818661fe276cf571de9c7899f2d (patch)
tree4dbda49ac88db76ce09dc330a0cb587e68e139ba /deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc
parent8549ac09b256666cf5275224ec58fab9939ff32e (diff)
downloadnode-new-7b48713334469818661fe276cf571de9c7899f2d.tar.gz
deps: update V8 to 7.3.492.25
PR-URL: https://github.com/nodejs/node/pull/25852 Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc')
-rw-r--r--deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc b/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc
index a048e82e62..7e1d6329c8 100644
--- a/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc
+++ b/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc
@@ -18,7 +18,9 @@
#include "src/interpreter/interpreter-intrinsics.h"
#include "src/interpreter/interpreter.h"
#include "src/objects-inl.h"
+#include "src/objects/heap-number-inl.h"
#include "src/objects/module-inl.h"
+#include "src/ostreams.h"
#include "src/runtime/runtime.h"
#include "src/source-position-table.h"
#include "test/cctest/cctest.h"
@@ -275,7 +277,7 @@ void BytecodeExpectationsPrinter::PrintSourcePosition(
}
void BytecodeExpectationsPrinter::PrintV8String(std::ostream& stream,
- i::String* string) const {
+ i::String string) const {
stream << '"';
for (int i = 0, length = string->length(); i < length; ++i) {
stream << i::AsEscapedUC16ForJSON(string->Get(i));
@@ -332,7 +334,7 @@ void BytecodeExpectationsPrinter::PrintBytecodeSequence(
}
void BytecodeExpectationsPrinter::PrintConstantPool(
- std::ostream& stream, i::FixedArray* constant_pool) const {
+ std::ostream& stream, i::FixedArray constant_pool) const {
stream << "constant pool: [\n";
int num_constants = constant_pool->length();
if (num_constants > 0) {