| Index: runtime/vm/assembler_x64.cc
|
| diff --git a/runtime/vm/assembler_x64.cc b/runtime/vm/assembler_x64.cc
|
| index 02527fc038a39462e3a8bc6dbd7521a2df6fb8b8..cd930271ce432da1387651481b8721c178caaf66 100644
|
| --- a/runtime/vm/assembler_x64.cc
|
| +++ b/runtime/vm/assembler_x64.cc
|
| @@ -97,6 +97,18 @@ void Assembler::CallPatchable(const StubEntry& stub_entry) {
|
| }
|
|
|
|
|
| +void Assembler::CallWithEquivalence(const StubEntry& stub_entry,
|
| + const Object& equivalence) {
|
| + ASSERT(constant_pool_allowed());
|
| + const Code& target = Code::Handle(stub_entry.code());
|
| + const int32_t offset = ObjectPool::element_offset(
|
| + object_pool_wrapper_.FindObject(target, equivalence));
|
| + LoadWordFromPoolOffset(CODE_REG, offset - kHeapObjectTag);
|
| + movq(TMP, FieldAddress(CODE_REG, Code::entry_point_offset()));
|
| + call(TMP);
|
| +}
|
| +
|
| +
|
| void Assembler::Call(const StubEntry& stub_entry) {
|
| ASSERT(constant_pool_allowed());
|
| const Code& target = Code::Handle(stub_entry.code());
|
|
|