Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
55 // the original code instead of the address in the running code. This will
56 // cause the original code to be updated and keeps the breakpoint active in
57 // the running code.
69 Code* IC::GetTargetAtAddress(Address address) {
72 // Convert target address to the code object. Code::GetCodeFromTargetAddress
74 Code* result = Code::GetCodeFromTargetAddress(target);
80 void IC::SetTargetAtAddress(Address address, Code* target) {
82 Code* old_target = GetTargetAtAddress(address);
84 // STORE_IC and KEYED_STORE_IC use Code::extra_ic_state() to mark
86 if (old_target->kind() == Code::STORE_IC ||
87 old_target->kind() == Code::KEYED_STORE_IC) {
88 ASSERT(Code::GetStrictMode(old_target->extra_ic_state()) ==
89 Code::GetStrictMode(target->extra_ic_state()));