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

Unified Diff: samples/shell.cc

Issue 6661022: ARM: Port r7089 to ARM... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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 | « include/v8-testing.h ('k') | src/api.cc » ('j') | src/arm/assembler-arm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/shell.cc
===================================================================
--- samples/shell.cc (revision 7118)
+++ samples/shell.cc (working copy)
@@ -65,6 +65,11 @@
// Create a new execution environment containing the built-in
// functions
v8::Persistent<v8::Context> context = v8::Context::New(NULL, global);
+ if (context.IsEmpty()) {
+ printf("Error creating context\n");
+ return 1;
Lasse Reichstein 2011/03/10 11:58:48 Thank you! Thank you!
+ }
+
bool run_shell = (argc == 1);
for (int i = 1; i < argc; i++) {
// Enter the execution environment before evaluating any code.
@@ -139,6 +144,8 @@
v8::Testing::PrepareStressRun(i);
result = RunMain(argc, argv);
}
+ printf("======== Full Deoptimization =======\n");
+ v8::Testing::DeoptimizeAll();
Søren Thygesen Gjesse 2011/03/10 12:47:02 Regarding regression tests this added deoptimizati
} else {
result = RunMain(argc, argv);
}
« no previous file with comments | « include/v8-testing.h ('k') | src/api.cc » ('j') | src/arm/assembler-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698