[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:
parent
5fa2734d39
commit
54fb438e88
@ -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()) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user