Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(737)

Unified Diff: src/objects.cc

Issue 1903273004: [compiler] Add baseline tier to compilation pipeline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
rmcilroy 2016/04/22 10:02:57 Should we have a flag --no-baseline or --no-full-c
Michael Starzinger 2016/04/22 10:47:45 Acknowledged. Yes, totally agree. I also want to a
+ // No write barrier required, since the builtin is part of the root set.
+}
void JSFunction::MarkForOptimization() {
Isolate* isolate = GetIsolate();

Powered by Google App Engine
This is Rietveld 408576698