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

Side by Side Diff: src/d8.cc

Issue 274093002: Fixed d8 shutdown. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 // Defined when linking against shared lib on Windows. 6 // Defined when linking against shared lib on Windows.
7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED)
8 #define V8_SHARED 8 #define V8_SHARED
9 #endif 9 #endif
10 10
(...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 if (( options.interactive_shell || !options.script_executed ) 1716 if (( options.interactive_shell || !options.script_executed )
1717 && !options.test_shell ) { 1717 && !options.test_shell ) {
1718 #ifndef V8_SHARED 1718 #ifndef V8_SHARED
1719 if (!i::FLAG_debugger) { 1719 if (!i::FLAG_debugger) {
1720 InstallUtilityScript(isolate); 1720 InstallUtilityScript(isolate);
1721 } 1721 }
1722 #endif // !V8_SHARED 1722 #endif // !V8_SHARED
1723 RunShell(isolate); 1723 RunShell(isolate);
1724 } 1724 }
1725 } 1725 }
1726 isolate->Dispose();
1726 V8::Dispose(); 1727 V8::Dispose();
1727 1728
1728 OnExit(); 1729 OnExit();
1729 1730
1730 return result; 1731 return result;
1731 } 1732 }
1732 1733
1733 } // namespace v8 1734 } // namespace v8
1734 1735
1735 1736
1736 #ifndef GOOGLE3 1737 #ifndef GOOGLE3
1737 int main(int argc, char* argv[]) { 1738 int main(int argc, char* argv[]) {
1738 return v8::Shell::Main(argc, argv); 1739 return v8::Shell::Main(argc, argv);
1739 } 1740 }
1740 #endif 1741 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698