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

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

Issue 14188016: ARM: clean up code now that ARMv6 is the baseline. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 | « src/platform-freebsd.cc ('k') | 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 // 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 DebugBreak(); 412 DebugBreak();
413 } 413 }
414 abort(); 414 abort();
415 } 415 }
416 416
417 417
418 void OS::DebugBreak() { 418 void OS::DebugBreak() {
419 // TODO(lrn): Introduce processor define for runtime system (!= V8_ARCH_x, 419 // TODO(lrn): Introduce processor define for runtime system (!= V8_ARCH_x,
420 // which is the architecture of generated code). 420 // which is the architecture of generated code).
421 #if (defined(__arm__) || defined(__thumb__)) 421 #if (defined(__arm__) || defined(__thumb__))
422 # if defined(CAN_USE_ARMV5_INSTRUCTIONS)
423 asm("bkpt 0"); 422 asm("bkpt 0");
424 # endif
425 #elif defined(__mips__) 423 #elif defined(__mips__)
426 asm("break"); 424 asm("break");
427 #elif defined(__native_client__) 425 #elif defined(__native_client__)
428 asm("hlt"); 426 asm("hlt");
429 #else 427 #else
430 asm("int $3"); 428 asm("int $3");
431 #endif 429 #endif
432 } 430 }
433 431
434 432
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 limit_mutex = CreateMutex(); 996 limit_mutex = CreateMutex();
999 } 997 }
1000 998
1001 999
1002 void OS::TearDown() { 1000 void OS::TearDown() {
1003 delete limit_mutex; 1001 delete limit_mutex;
1004 } 1002 }
1005 1003
1006 1004
1007 } } // namespace v8::internal 1005 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-freebsd.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698