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

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

Issue 1094014: Merge the partial_snapshots branch back into bleeding_edge. For... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 259
260 void OS::Abort() { 260 void OS::Abort() {
261 // Redirect to std abort to signal abnormal program termination. 261 // Redirect to std abort to signal abnormal program termination.
262 abort(); 262 abort();
263 } 263 }
264 264
265 265
266 void OS::DebugBreak() { 266 void OS::DebugBreak() {
267 // TODO(lrn): Introduce processor define for runtime system (!= V8_ARCH_x, 267 // TODO(lrn): Introduce processor define for runtime system (!= V8_ARCH_x,
268 // which is the architecture of generated code). 268 // which is the architecture of generated code).
269 #if defined(__arm__) || defined(__thumb__) 269 #if (defined(__arm__) || defined(__thumb__)) && \
270 defined(CAN_USE_ARMV5_INSTRUCTIONS)
270 asm("bkpt 0"); 271 asm("bkpt 0");
271 #elif defined(__mips__) 272 #elif defined(__mips__)
272 asm("break"); 273 asm("break");
273 #else 274 #else
274 asm("int $3"); 275 asm("int $3");
275 #endif 276 #endif
276 } 277 }
277 278
278 279
279 class PosixMemoryMappedFile : public OS::MemoryMappedFile { 280 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 831
831 // This sampler is no longer the active sampler. 832 // This sampler is no longer the active sampler.
832 active_sampler_ = NULL; 833 active_sampler_ = NULL;
833 active_ = false; 834 active_ = false;
834 } 835 }
835 836
836 837
837 #endif // ENABLE_LOGGING_AND_PROFILING 838 #endif // ENABLE_LOGGING_AND_PROFILING
838 839
839 } } // namespace v8::internal 840 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698