| Index: src/contexts-inl.h
|
| diff --git a/src/contexts-inl.h b/src/contexts-inl.h
|
| index ce2c97be753f774d04bfa22cbd47707d6ded1b60..cdcb7cf4aa26ccab94fb1e72a3cec6848bc85b67 100644
|
| --- a/src/contexts-inl.h
|
| +++ b/src/contexts-inl.h
|
| @@ -124,6 +124,9 @@ bool Context::IsScriptContext() {
|
| return map == map->GetHeap()->script_context_map();
|
| }
|
|
|
| +bool Context::OptimizedCodeMapIsCleared() {
|
| + return osr_code_table() == GetHeap()->empty_fixed_array();
|
| +}
|
|
|
| bool Context::HasSameSecurityTokenAs(Context* that) {
|
| return this->native_context()->security_token() ==
|
|
|