OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 #include <sys/syscall.h> | 30 #include <sys/syscall.h> |
31 #include <unistd.h> | 31 #include <unistd.h> |
32 | 32 |
33 #ifdef __mips | 33 #ifdef __mips |
34 #include <asm/cachectl.h> | 34 #include <asm/cachectl.h> |
35 #endif // #ifdef __mips | 35 #endif // #ifdef __mips |
36 | 36 |
37 #include "v8.h" | 37 #include "v8.h" |
38 | 38 |
39 #if defined(V8_TARGET_ARCH_MIPS) | 39 #if V8_TARGET_ARCH_MIPS |
40 | 40 |
41 #include "cpu.h" | 41 #include "cpu.h" |
42 #include "macro-assembler.h" | 42 #include "macro-assembler.h" |
43 | 43 |
44 #include "simulator.h" // For cache flushing. | 44 #include "simulator.h" // For cache flushing. |
45 | 45 |
46 namespace v8 { | 46 namespace v8 { |
47 namespace internal { | 47 namespace internal { |
48 | 48 |
49 | 49 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 void CPU::DebugBreak() { | 91 void CPU::DebugBreak() { |
92 #ifdef __mips | 92 #ifdef __mips |
93 asm volatile("break"); | 93 asm volatile("break"); |
94 #endif // #ifdef __mips | 94 #endif // #ifdef __mips |
95 } | 95 } |
96 | 96 |
97 | 97 |
98 } } // namespace v8::internal | 98 } } // namespace v8::internal |
99 | 99 |
100 #endif // V8_TARGET_ARCH_MIPS | 100 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |