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 12 matching lines...) Expand all Loading... |
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #include <stdlib.h> | 28 #include <stdlib.h> |
29 #include <cmath> | 29 #include <cmath> |
30 #include <cstdarg> | 30 #include <cstdarg> |
31 #include "v8.h" | 31 #include "v8.h" |
32 | 32 |
33 #if defined(V8_TARGET_ARCH_ARM) | 33 #if V8_TARGET_ARCH_ARM |
34 | 34 |
35 #include "disasm.h" | 35 #include "disasm.h" |
36 #include "assembler.h" | 36 #include "assembler.h" |
37 #include "codegen.h" | 37 #include "codegen.h" |
38 #include "arm/constants-arm.h" | 38 #include "arm/constants-arm.h" |
39 #include "arm/simulator-arm.h" | 39 #include "arm/simulator-arm.h" |
40 | 40 |
41 #if defined(USE_SIMULATOR) | 41 #if defined(USE_SIMULATOR) |
42 | 42 |
43 // Only build the simulator if not compiling for real ARM hardware. | 43 // Only build the simulator if not compiling for real ARM hardware. |
(...skipping 3533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3577 uintptr_t address = *stack_slot; | 3577 uintptr_t address = *stack_slot; |
3578 set_register(sp, current_sp + sizeof(uintptr_t)); | 3578 set_register(sp, current_sp + sizeof(uintptr_t)); |
3579 return address; | 3579 return address; |
3580 } | 3580 } |
3581 | 3581 |
3582 } } // namespace v8::internal | 3582 } } // namespace v8::internal |
3583 | 3583 |
3584 #endif // USE_SIMULATOR | 3584 #endif // USE_SIMULATOR |
3585 | 3585 |
3586 #endif // V8_TARGET_ARCH_ARM | 3586 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |