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

Unified Diff: src/d8.cc

Issue 17203: Periodic merge from bleeding_edge to experimental code generator... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 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-ia32.cc ('k') | src/d8.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
===================================================================
--- src/d8.cc (revision 1032)
+++ src/d8.cc (working copy)
@@ -106,14 +106,14 @@
Handle<Script> script = Script::Compile(source, name);
if (script.IsEmpty()) {
// Print errors that happened during compilation.
- if (report_exceptions)
+ if (report_exceptions && !i::FLAG_debugger)
ReportException(&try_catch);
return false;
} else {
Handle<Value> result = script->Run();
if (result.IsEmpty()) {
// Print errors that happened during execution.
- if (report_exceptions)
+ if (report_exceptions && !i::FLAG_debugger)
ReportException(&try_catch);
return false;
} else {
@@ -367,16 +367,16 @@
void Shell::OnExit() {
if (i::FLAG_dump_counters) {
- ::printf("+----------------------------------------+----------+\n");
- ::printf("| Name | Value |\n");
- ::printf("+----------------------------------------+----------+\n");
+ ::printf("+----------------------------------------+-------------+\n");
+ ::printf("| Name | Value |\n");
+ ::printf("+----------------------------------------+-------------+\n");
for (CounterMap::iterator i = counter_map_.begin();
i != counter_map_.end();
i++) {
Counter* counter = (*i).second;
- ::printf("| %-38s | %8i |\n", (*i).first, counter->value());
+ ::printf("| %-38s | %11i |\n", (*i).first, counter->value());
}
- ::printf("+----------------------------------------+----------+\n");
+ ::printf("+----------------------------------------+-------------+\n");
}
if (counters_file_ != NULL)
delete counters_file_;
« no previous file with comments | « src/codegen-ia32.cc ('k') | src/d8.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698