| Index: runtime/vm/instructions_dbc.cc
|
| diff --git a/runtime/vm/instructions_dbc.cc b/runtime/vm/instructions_dbc.cc
|
| index b3f50ad49e20e7877e7491ba759414a649b6bd59..7d8dab7bc30697e0a64a90149cea64f3d6a2d84d 100644
|
| --- a/runtime/vm/instructions_dbc.cc
|
| +++ b/runtime/vm/instructions_dbc.cc
|
| @@ -67,6 +67,18 @@ CallPattern::CallPattern(uword pc, const Code& code)
|
| }
|
|
|
|
|
| +int CallPattern::DeoptCallPatternLengthInInstructions() {
|
| + UNIMPLEMENTED();
|
| + return 0;
|
| +}
|
| +
|
| +
|
| +int CallPattern::DeoptCallPatternLengthInBytes() {
|
| + UNIMPLEMENTED();
|
| + return 0;
|
| +}
|
| +
|
| +
|
| NativeCallPattern::NativeCallPattern(uword pc, const Code& code)
|
| : object_pool_(ObjectPool::Handle(code.GetObjectPool())),
|
| end_(pc),
|
| @@ -169,7 +181,7 @@ void CallPattern::SetTargetCode(const Code& target_code) const {
|
| }
|
|
|
|
|
| -void CallPattern::InsertDeoptCallAt(uword pc) {
|
| +void CallPattern::InsertDeoptCallAt(uword pc, uword target_address) {
|
| const uint8_t argc = Bytecode::IsCallOpcode(Bytecode::At(pc)) ?
|
| Bytecode::DecodeArgc(Bytecode::At(pc)) : 0;
|
| *reinterpret_cast<Instr*>(pc) = Bytecode::Encode(Bytecode::kDeopt, argc, 0);
|
|
|