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

Unified Diff: src/full-codegen.h

Issue 10834085: Fix full code generator to not use --debug-code if it is in (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 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
Index: src/full-codegen.h
===================================================================
--- src/full-codegen.h (revision 12237)
+++ src/full-codegen.h (working copy)
@@ -93,8 +93,12 @@
? info->function()->ast_node_count() : 0,
info->zone()),
ic_total_count_(0),
- zone_(info->zone()) { }
+ zone_(info->zone()) {
+ Initialize();
+ }
+ void Initialize();
+
static bool MakeCode(CompilationInfo* info);
// Encode state and pc-offset as a BitField<type, start, size>.
@@ -806,6 +810,7 @@
int ic_total_count_;
Handle<FixedArray> handler_table_;
Handle<JSGlobalPropertyCell> profiling_counter_;
+ bool generate_debug_code_;
Zone* zone_;
friend class NestedStatement;
« no previous file with comments | « src/compiler.cc ('k') | src/full-codegen.cc » ('j') | src/x64/assembler-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698