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

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

Issue 148913008: A64: Fix some compile errors when building for Android. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Address comments Created 6 years, 10 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/isolate.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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 void OS::Abort() { 183 void OS::Abort() {
184 // Redirect to std abort to signal abnormal program termination. 184 // Redirect to std abort to signal abnormal program termination.
185 abort(); 185 abort();
186 } 186 }
187 187
188 188
189 void OS::DebugBreak() { 189 void OS::DebugBreak() {
190 #if (defined(__arm__) || defined(__thumb__)) 190 #if (defined(__arm__) || defined(__thumb__))
191 asm("bkpt 0"); 191 asm("bkpt 0");
192 #elif defined(__aarch64__)
193 asm("brk 0");
192 #else 194 #else
193 asm("int $3"); 195 asm("int $3");
194 #endif 196 #endif
195 } 197 }
196 198
197 199
198 void OS::DumpBacktrace() { 200 void OS::DumpBacktrace() {
199 POSIXBacktraceHelper<backtrace, backtrace_symbols>::DumpBacktrace(); 201 POSIXBacktraceHelper<backtrace, backtrace_symbols>::DumpBacktrace();
200 } 202 }
201 203
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 limit_mutex = CreateMutex(); 594 limit_mutex = CreateMutex();
593 } 595 }
594 596
595 597
596 void OS::TearDown() { 598 void OS::TearDown() {
597 delete limit_mutex; 599 delete limit_mutex;
598 } 600 }
599 601
600 602
601 } } // namespace v8::internal 603 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698