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

Unified Diff: src/fast-codegen.cc

Issue 569010: Use the virtual-frame based optimizing compiler for split-compilation... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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/codegen.cc ('k') | src/ia32/codegen-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/fast-codegen.cc
===================================================================
--- src/fast-codegen.cc (revision 3775)
+++ src/fast-codegen.cc (working copy)
@@ -30,7 +30,6 @@
#include "codegen-inl.h"
#include "data-flow.h"
#include "fast-codegen.h"
-#include "full-codegen.h"
#include "scopes.h"
namespace v8 {
@@ -358,9 +357,10 @@
// Generate the full code for the function in bailout mode, using the same
// macro assembler.
- FullCodeGenerator full_cgen(&masm, script, is_eval);
- full_cgen.Generate(fun, FullCodeGenerator::SECONDARY);
- if (full_cgen.HasStackOverflow()) {
+ CodeGenerator cgen(&masm, script, is_eval);
+ CodeGeneratorScope scope(&cgen);
+ cgen.Generate(fun, CodeGenerator::SECONDARY, info);
+ if (cgen.HasStackOverflow()) {
ASSERT(!Top::has_pending_exception());
return Handle<Code>::null();
}
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698