Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6e67a77c94d2203d68f742df4db5132c4eb01c30..2f4841ff27df4828b95a62ffe8da66f0d1e254a1 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4203,6 +4203,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()); |
} |