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

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

Issue 144963003: A64: add missing files. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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/atomicops_internals_a64_gcc.h ('k') | test/cctest/test-assembler-a64.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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(__aarch64__) 421 #if defined(__aarch64__)
422 asm("hlt 0"); 422 asm("hlt 0");
423 #elif (defined(__arm__) || defined(__thumb__)) 423 #elif defined(__arm__) || defined(__thumb__)
424 asm("bkpt 0"); 424 asm("bkpt 0");
425 #elif defined(__mips__) 425 #elif defined(__mips__)
426 asm("break"); 426 asm("break");
427 #elif defined(__native_client__) 427 #elif defined(__native_client__)
428 asm("hlt"); 428 asm("hlt");
429 #else 429 #else
430 asm("int $3"); 430 asm("int $3");
431 #endif 431 #endif
432 } 432 }
433 433
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 limit_mutex = CreateMutex(); 1002 limit_mutex = CreateMutex();
1003 } 1003 }
1004 1004
1005 1005
1006 void OS::TearDown() { 1006 void OS::TearDown() {
1007 delete limit_mutex; 1007 delete limit_mutex;
1008 } 1008 }
1009 1009
1010 1010
1011 } } // namespace v8::internal 1011 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/atomicops_internals_a64_gcc.h ('k') | test/cctest/test-assembler-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698