diff options
Diffstat (limited to 'deps/v8/test/cctest/test-disasm-regex-helper.cc')
-rw-r--r-- | deps/v8/test/cctest/test-disasm-regex-helper.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/test-disasm-regex-helper.cc b/deps/v8/test/cctest/test-disasm-regex-helper.cc index e0ac994044..8c3b251d15 100644 --- a/deps/v8/test/cctest/test-disasm-regex-helper.cc +++ b/deps/v8/test/cctest/test-disasm-regex-helper.cc @@ -21,9 +21,9 @@ std::string DisassembleFunction(const char* function) { CcTest::global()->Get(context, v8_str(function)).ToLocalChecked()))); Isolate* isolate = CcTest::i_isolate(); - Handle<Code> code(FromCodeT(f->code()), isolate); - Address begin = code->raw_instruction_start(); - Address end = code->raw_instruction_end(); + Handle<Code> code(f->code(), isolate); + Address begin = code->InstructionStart(); + Address end = code->InstructionEnd(); std::ostringstream os; Disassembler::Decode(isolate, os, reinterpret_cast<byte*>(begin), reinterpret_cast<byte*>(end), CodeReference(code)); |