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

Unified Diff: src/code-stubs.cc

Issue 1320843002: [heap] Limit friendship of the Heap class to essentials. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment. Created 5 years, 4 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index 1c3642b5de04c078e9cf8bd1e2a84efc4317a501..7c75568c77e45ea464c3c7a8db00f07312a06a58 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -174,7 +174,7 @@ Handle<Code> CodeStub::GetCode() {
Handle<UnseededNumberDictionary>(heap->code_stubs()),
GetKey(),
new_object);
- heap->public_set_code_stubs(*dict);
+ heap->SetRootCodeStubs(*dict);
}
code = *new_object;
}
« no previous file with comments | « src/bootstrapper.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698