[IC] Delete unused AddessIsOptimizedCode function.

BUG=

Review-Url: https://codereview.chromium.org/2387173003
Cr-Commit-Position: refs/heads/master@{#39956}
This commit is contained in:
franzih 2016-10-04 07:28:10 -07:00 committed by Commit bot
parent 5fa2734d39
commit 54fb438e88
2 changed files with 0 additions and 8 deletions

View File

@ -244,13 +244,6 @@ Code* IC::GetCode() const {
return code;
}
bool IC::AddressIsOptimizedCode() const {
Code* host =
isolate()->inner_pointer_to_code_cache()->GetCacheEntry(address())->code;
return host->kind() == Code::OPTIMIZED_FUNCTION;
}
static void LookupForRead(LookupIterator* it) {
for (; it->IsFound(); it->Next()) {
switch (it->state()) {

View File

@ -91,7 +91,6 @@ class IC {
// Get the code object of the caller.
Code* GetCode() const;
bool AddressIsOptimizedCode() const;
inline bool AddressIsDeoptimizedCode() const;
inline static bool AddressIsDeoptimizedCode(Isolate* isolate,
Address address);