OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <limits.h> | 5 #include <limits.h> |
6 #include <stdarg.h> | 6 #include <stdarg.h> |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "src/v8.h" | 10 #include "src/v8.h" |
(...skipping 4415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4426 int current_sp = get_register(sp); | 4426 int current_sp = get_register(sp); |
4427 uintptr_t* stack_slot = reinterpret_cast<uintptr_t*>(current_sp); | 4427 uintptr_t* stack_slot = reinterpret_cast<uintptr_t*>(current_sp); |
4428 uintptr_t address = *stack_slot; | 4428 uintptr_t address = *stack_slot; |
4429 set_register(sp, current_sp + sizeof(uintptr_t)); | 4429 set_register(sp, current_sp + sizeof(uintptr_t)); |
4430 return address; | 4430 return address; |
4431 } | 4431 } |
4432 | 4432 |
4433 | 4433 |
4434 #undef UNSUPPORTED | 4434 #undef UNSUPPORTED |
4435 | 4435 |
4436 } } // namespace v8::internal | 4436 } // namespace internal |
| 4437 } // namespace v8 |
4437 | 4438 |
4438 #endif // USE_SIMULATOR | 4439 #endif // USE_SIMULATOR |
4439 | 4440 |
4440 #endif // V8_TARGET_ARCH_MIPS | 4441 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |