OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2476 int current_sp = get_register(sp); | 2476 int current_sp = get_register(sp); |
2477 uintptr_t* stack_slot = reinterpret_cast<uintptr_t*>(current_sp); | 2477 uintptr_t* stack_slot = reinterpret_cast<uintptr_t*>(current_sp); |
2478 uintptr_t address = *stack_slot; | 2478 uintptr_t address = *stack_slot; |
2479 set_register(sp, current_sp + sizeof(uintptr_t)); | 2479 set_register(sp, current_sp + sizeof(uintptr_t)); |
2480 return address; | 2480 return address; |
2481 } | 2481 } |
2482 | 2482 |
2483 | 2483 |
2484 } } // namespace assembler::arm | 2484 } } // namespace assembler::arm |
2485 | 2485 |
2486 #endif // !defined(__arm__) | 2486 #endif // __arm__ |
OLD | NEW |