Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index 7ddfdfc8e48a8d3ae2fd358cb0ef610844a5a76f..c1eabe415e0f3825bff149383537ad90c0e0fac1 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -3843,7 +3843,7 @@ void Code::set_has_function_cache(bool flag) { |
| bool Code::marked_for_deoptimization() { |
| - ASSERT(kind() == OPTIMIZED_FUNCTION); |
| + ASSERT(kind() == OPTIMIZED_FUNCTION || kind() == COMPILED_STUB); |
|
danno
2013/03/20 21:07:33
Why is this additional check needed?
mvstanton
2013/03/21 11:47:35
I removed it, and spoke with Ulan. In fact we shou
|
| return MarkedForDeoptimizationField::decode( |
| READ_UINT32_FIELD(this, kKindSpecificFlags1Offset)); |
| } |