Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index be1fda0bc46c97cff6f9aa69bdc6191958cad7fc..e3b47427e38251435c4d4ab36f7498d7ec34029b 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6127,7 +6127,7 @@ |
kOptimizationDisabled) |
AbstractCode* SharedFunctionInfo::abstract_code() { |
- if ((!is_compiled() && HasBytecodeArray()) || IsInterpreted()) { |
+ if (HasBytecodeArray()) { |
return AbstractCode::cast(bytecode_array()); |
} else { |
return AbstractCode::cast(code()); |
@@ -6545,7 +6545,7 @@ |
} |
AbstractCode* JSFunction::abstract_code() { |
- if ((!is_compiled() && shared()->HasBytecodeArray()) || IsInterpreted()) { |
+ if (IsInterpreted()) { |
return AbstractCode::cast(shared()->bytecode_array()); |
} else { |
return AbstractCode::cast(code()); |