Home | History | Annotate | Download | only in src

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
56 // the original code instead of the address in the running code. This will
57 // cause the original code to be updated and keeps the breakpoint active in
58 // the running code.
70 Code* IC::GetTargetAtAddress(Address address) {
73 // Convert target address to the code object. Code::GetCodeFromTargetAddress
75 Code* result = Code::GetCodeFromTargetAddress(target);
81 void IC::SetTargetAtAddress(Address address, Code* target) {
84 Code* old_target = GetTargetAtAddress(address);
86 // STORE_IC and KEYED_STORE_IC use Code::extra_ic_state() to mark
88 if (old_target->kind() == Code::STORE_IC ||
89 old_target->kind() == Code::KEYED_STORE_IC) {
90 ASSERT(Code::GetStrictMode(old_target->extra_ic_state()) ==
91 Code::GetStrictMode(target->extra_ic_state()));