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

Unified Diff: src/frames.cc

Issue 7374002: Refactor allocation policies. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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/deoptimizer.h ('k') | src/full-codegen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.cc
diff --git a/src/frames.cc b/src/frames.cc
index eaf09ebaf572ed68b18d8ff41a39bf65c759c4e1..62340276d894295e1e00d460e94414042d311010 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -960,7 +960,7 @@ void JavaScriptFrame::Print(StringStream* accumulator,
// Get scope information for nicer output, if possible. If code is
// NULL, or doesn't contain scope info, info will return 0 for the
// number of parameters, stack slots, or context slots.
- ScopeInfo<PreallocatedStorage> info(*scope_info);
+ ScopeInfo<PreallocatedStorageAllocator> info(*scope_info);
// Print the parameters.
int parameters_count = ComputeParametersCount();
@@ -1268,7 +1268,7 @@ static StackFrame* AllocateFrameCopy(StackFrame* frame) {
}
Vector<StackFrame*> CreateStackMap() {
- ZoneList<StackFrame*> list(10);
+ ZoneList<StackFrame*> list(ZONE, 10);
for (StackFrameIterator it; !it.done(); it.Advance()) {
StackFrame* frame = AllocateFrameCopy(it.frame());
list.Add(frame);
« no previous file with comments | « src/deoptimizer.h ('k') | src/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698