| Index: src/objects-inl.h
|
| ===================================================================
|
| --- src/objects-inl.h (revision 5236)
|
| +++ src/objects-inl.h (working copy)
|
| @@ -2661,8 +2661,7 @@
|
|
|
|
|
| bool SharedFunctionInfo::is_compiled() {
|
| - // TODO(1242782): Create a code kind for uncompiled code.
|
| - return code()->kind() != Code::STUB;
|
| + return code() != Builtins::builtin(Builtins::LazyCompile);
|
| }
|
|
|
|
|
| @@ -2773,7 +2772,7 @@
|
|
|
|
|
| bool JSFunction::is_compiled() {
|
| - return code()->kind() != Code::STUB;
|
| + return code() != Builtins::builtin(Builtins::LazyCompile);
|
| }
|
|
|
|
|
|
|