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

Unified Diff: src/objects.cc

Issue 757983002: Reset code age on the cloned code when serializing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « src/objects.h ('k') | src/serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 958c08243b4fbe13bb16ed6b083adcd2d7d9182b..991466d6131c73262c00af185d7bf0cb01929e3f 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -10753,9 +10753,9 @@ static Code::Age EffectiveAge(Code::Age age) {
}
-void Code::MakeYoung() {
+void Code::MakeYoung(Isolate* isolate) {
byte* sequence = FindCodeAgeSequence();
- if (sequence != NULL) MakeCodeAgeSequenceYoung(sequence, GetIsolate());
+ if (sequence != NULL) MakeCodeAgeSequenceYoung(sequence, isolate);
}
« no previous file with comments | « src/objects.h ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698