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

Side by Side Diff: src/d8.cc

Issue 7835040: Put test directories of d8-os tests into /tmp/. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 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 | test/mjsunit/d8-os.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 FunctionTemplate::New(Float64Array)); 676 FunctionTemplate::New(Float64Array));
677 global_template->Set(String::New("PixelArray"), 677 global_template->Set(String::New("PixelArray"),
678 FunctionTemplate::New(PixelArray)); 678 FunctionTemplate::New(PixelArray));
679 679
680 #ifdef LIVE_OBJECT_LIST 680 #ifdef LIVE_OBJECT_LIST
681 global_template->Set(String::New("lol_is_enabled"), True()); 681 global_template->Set(String::New("lol_is_enabled"), True());
682 #else 682 #else
683 global_template->Set(String::New("lol_is_enabled"), False()); 683 global_template->Set(String::New("lol_is_enabled"), False());
684 #endif 684 #endif
685 685
686 #ifndef V8_SHARED 686 #if !defined(V8_SHARED) && !defined(_WIN32) && !defined(_WIN64)
Yang 2011/09/06 14:37:51 There is no windows implementation of the os objec
687 Handle<ObjectTemplate> os_templ = ObjectTemplate::New(); 687 Handle<ObjectTemplate> os_templ = ObjectTemplate::New();
688 AddOSMethods(os_templ); 688 AddOSMethods(os_templ);
689 global_template->Set(String::New("os"), os_templ); 689 global_template->Set(String::New("os"), os_templ);
690 #endif // V8_SHARED 690 #endif // V8_SHARED
691 691
692 return global_template; 692 return global_template;
693 } 693 }
694 694
695 695
696 void Shell::Initialize() { 696 void Shell::Initialize() {
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 } 1298 }
1299 1299
1300 } // namespace v8 1300 } // namespace v8
1301 1301
1302 1302
1303 #ifndef GOOGLE3 1303 #ifndef GOOGLE3
1304 int main(int argc, char* argv[]) { 1304 int main(int argc, char* argv[]) {
1305 return v8::Shell::Main(argc, argv); 1305 return v8::Shell::Main(argc, argv);
1306 } 1306 }
1307 #endif 1307 #endif
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/d8-os.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698