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

Side by Side Diff: src/platform-freebsd.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/arm/macro-assembler-arm.cc ('k') | src/platform-linux.cc » ('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 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 188
189 void OS::Abort() { 189 void OS::Abort() {
190 // Redirect to std abort to signal abnormal program termination. 190 // Redirect to std abort to signal abnormal program termination.
191 abort(); 191 abort();
192 } 192 }
193 193
194 194
195 void OS::DebugBreak() { 195 void OS::DebugBreak() {
196 #if (defined(__arm__) || defined(__thumb__)) 196 #if (defined(__arm__) || defined(__thumb__))
197 # if defined(CAN_USE_ARMV5_INSTRUCTIONS)
198 asm("bkpt 0"); 197 asm("bkpt 0");
199 # endif
200 #else 198 #else
201 asm("int $3"); 199 asm("int $3");
202 #endif 200 #endif
203 } 201 }
204 202
205 203
206 void OS::DumpBacktrace() { 204 void OS::DumpBacktrace() {
207 void* trace[100]; 205 void* trace[100];
208 int size = backtrace(trace, ARRAY_SIZE(trace)); 206 int size = backtrace(trace, ARRAY_SIZE(trace));
209 char** symbols = backtrace_symbols(trace, size); 207 char** symbols = backtrace_symbols(trace, size);
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 limit_mutex = CreateMutex(); 691 limit_mutex = CreateMutex();
694 } 692 }
695 693
696 694
697 void OS::TearDown() { 695 void OS::TearDown() {
698 delete limit_mutex; 696 delete limit_mutex;
699 } 697 }
700 698
701 699
702 } } // namespace v8::internal 700 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698