| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 202fb5ce9ffaf3c5ed3a17a6a5da22850152e168..5dd204b56f09187665293e30e55532e6f0aa3b00 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -11970,6 +11970,12 @@ bool JSFunction::Inlines(SharedFunctionInfo* candidate) {
|
| return false;
|
| }
|
|
|
| +void JSFunction::MarkForBaseline() {
|
| + Isolate* isolate = GetIsolate();
|
| + set_code_no_write_barrier(
|
| + isolate->builtins()->builtin(Builtins::kCompileBaseline));
|
| + // No write barrier required, since the builtin is part of the root set.
|
| +}
|
|
|
| void JSFunction::MarkForOptimization() {
|
| Isolate* isolate = GetIsolate();
|
|
|