Home | History | Annotate | Download | only in ic

Lines Matching refs:Code

2 // Use of this source code is governed by a BSD-style license that can be
43 Code* IC::GetTargetAtAddress(Address address, Address constant_pool) {
46 // Convert target address to the code object. Code::GetCodeFromTargetAddress
48 Code* result = Code::GetCodeFromTargetAddress(target);
57 void IC::SetTargetAtAddress(Address address, Code* target,
61 // Only these three old-style ICs still do code patching.
66 Code* old_target = GetTargetAtAddress(address, constant_pool);
79 void IC::set_target(Code* code) {
80 SetTargetAtAddress(address(), code, constant_pool());
83 Code* IC::target() const {
90 (object->IsCode() && Code::cast(object)->is_handler());
133 Code* host =
134 isolate->inner_pointer_to_code_cache()->GetCacheEntry(address)->code;
135 return (host->kind() == Code::OPTIMIZED_FUNCTION &&