from Heap::CopyCode anymore.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@161
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Rene Rebe <rene@exactcode.de>
Rafal Krypa <rafal@krypa.net>
+Jay Freeman <saurik@saurik.com>
#ifdef DEBUG
code->Verify();
#endif
-
- CPU::FlushICache(code->instruction_start(), code->instruction_size());
-
return code;
}
// Relocate the copy.
Code* new_code = Code::cast(result);
new_code->Relocate(new_addr - old_addr);
-
- CPU::FlushICache(new_code->instruction_start(), new_code->instruction_size());
-
return new_code;
}
for (RelocIterator it(this, RelocInfo::kApplyMask); !it.done(); it.next()) {
it.rinfo()->apply(delta);
}
+ CPU::FlushICache(instruction_start(), instruction_size());
}
it.rinfo()->apply(delta);
}
}
+ CPU::FlushICache(instruction_start(), instruction_size());
}