| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 50c9f3c28d49f40ff5236cfe93c2dd4db21fe800..d2aa545051c8a9245f7127b434bb9bfd07d18749 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4571,6 +4571,11 @@ inline bool Code::is_crankshafted() {
|
| }
|
|
|
|
|
| +inline bool Code::is_hydrogen_stub() {
|
| + return is_crankshafted() && kind() != OPTIMIZED_FUNCTION;
|
| +}
|
| +
|
| +
|
| inline void Code::set_is_crankshafted(bool value) {
|
| int previous = READ_UINT32_FIELD(this, kKindSpecificFlags2Offset);
|
| int updated = IsCrankshaftedField::update(previous, value);
|
|
|