Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index e48787b03856d7e24a6cd8e496f525d0bab94a29..145673f1cf4350208336855cc0e14194e7e36b60 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4249,6 +4249,18 @@ bool JSFunction::IsMarkedForLazyRecompilation() { |
} |
+bool JSFunction::IsMarkedForParallelRecompilation() { |
+ return code() == |
+ GetIsolate()->builtins()->builtin(Builtins::kParallelRecompile); |
+} |
+ |
+ |
+bool JSFunction::IsInRecompileQueue() { |
+ return code() == GetIsolate()->builtins()->builtin( |
+ Builtins::kInRecompileQueue); |
+} |
+ |
+ |
Code* JSFunction::code() { |
return Code::cast(unchecked_code()); |
} |