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

Side by Side Diff: src/platform-posix.cc

Issue 4070003: [Isolates] Convert more static data either to read-only or to per-isolate. (Closed)
Patch Set: Created 10 years, 2 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
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 // ---------------------------------------------------------------------------- 116 // ----------------------------------------------------------------------------
117 // POSIX stdio support. 117 // POSIX stdio support.
118 // 118 //
119 119
120 FILE* OS::FOpen(const char* path, const char* mode) { 120 FILE* OS::FOpen(const char* path, const char* mode) {
121 return fopen(path, mode); 121 return fopen(path, mode);
122 } 122 }
123 123
124 124
125 const char* OS::LogFileOpenMode = "w"; 125 const char* const OS::LogFileOpenMode = "w";
126 126
127 127
128 void OS::Print(const char* format, ...) { 128 void OS::Print(const char* format, ...) {
129 va_list args; 129 va_list args;
130 va_start(args, format); 130 va_start(args, format);
131 VPrint(format, args); 131 VPrint(format, args);
132 va_end(args); 132 va_end(args);
133 } 133 }
134 134
135 135
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 return ntohl(value); 358 return ntohl(value);
359 } 359 }
360 360
361 361
362 Socket* OS::CreateSocket() { 362 Socket* OS::CreateSocket() {
363 return new POSIXSocket(); 363 return new POSIXSocket();
364 } 364 }
365 365
366 366
367 } } // namespace v8::internal 367 } } // namespace v8::internal
OLDNEW
« src/frames.h ('K') | « src/platform.h ('k') | src/platform-win32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698