diff options
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc')
-rw-r--r-- | deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc b/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc index 802b588a1a..d8e4ecfc2d 100644 --- a/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc +++ b/deps/v8/test/cctest/interpreter/bytecode-expectations-printer.cc @@ -95,7 +95,7 @@ BytecodeExpectationsPrinter::GetBytecodeArrayForGlobal( i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*function)); i::Handle<i::BytecodeArray> bytecodes = - i::handle(js_function->shared()->bytecode_array(), i_isolate()); + i::handle(js_function->shared()->GetBytecodeArray(), i_isolate()); return bytecodes; } @@ -104,15 +104,16 @@ i::Handle<i::BytecodeArray> BytecodeExpectationsPrinter::GetBytecodeArrayForModule( v8::Local<v8::Module> module) const { i::Handle<i::Module> i_module = v8::Utils::OpenHandle(*module); - return i::handle(SharedFunctionInfo::cast(i_module->code())->bytecode_array(), - i_isolate()); + return i::handle( + SharedFunctionInfo::cast(i_module->code())->GetBytecodeArray(), + i_isolate()); } i::Handle<i::BytecodeArray> BytecodeExpectationsPrinter::GetBytecodeArrayForScript( v8::Local<v8::Script> script) const { i::Handle<i::JSFunction> js_function = v8::Utils::OpenHandle(*script); - return i::handle(js_function->shared()->bytecode_array(), i_isolate()); + return i::handle(js_function->shared()->GetBytecodeArray(), i_isolate()); } void BytecodeExpectationsPrinter::PrintEscapedString( |