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

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

Issue 7379004: Add guard pages in front of platform allocations (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 5 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 return NULL; 210 return NULL;
211 } 211 }
212 212
213 213
214 void OS::Free(void* buf, const size_t length) { 214 void OS::Free(void* buf, const size_t length) {
215 // TODO(1240712): potential system call return value which is ignored here. 215 // TODO(1240712): potential system call return value which is ignored here.
216 UNIMPLEMENTED(); 216 UNIMPLEMENTED();
217 } 217 }
218 218
219 219
220 void OS::Guard(void* address, const size_t size) {
221 UNIMPLEMENTED();
222 }
223
224
220 void OS::Sleep(int milliseconds) { 225 void OS::Sleep(int milliseconds) {
221 UNIMPLEMENTED(); 226 UNIMPLEMENTED();
222 } 227 }
223 228
224 229
225 void OS::Abort() { 230 void OS::Abort() {
226 // Minimalistic implementation for bootstrapping. 231 // Minimalistic implementation for bootstrapping.
227 abort(); 232 abort();
228 } 233 }
229 234
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 UNIMPLEMENTED(); 457 UNIMPLEMENTED();
453 } 458 }
454 459
455 460
456 void ProfileSampler::Stop() { 461 void ProfileSampler::Stop() {
457 UNIMPLEMENTED(); 462 UNIMPLEMENTED();
458 } 463 }
459 464
460 465
461 } } // namespace v8::internal 466 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform.h ('k') | src/platform-posix.cc » ('j') | src/spaces.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698