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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 void EnterExitFrame(bool save_doubles, int stack_space = 0); | 487 void EnterExitFrame(bool save_doubles, int stack_space = 0); |
488 | 488 |
489 // Leave the current exit frame. Expects the return value in r0. | 489 // Leave the current exit frame. Expects the return value in r0. |
490 // Expect the number of values, pushed prior to the exit frame, to | 490 // Expect the number of values, pushed prior to the exit frame, to |
491 // remove in a register (or no_reg, if there is nothing to remove). | 491 // remove in a register (or no_reg, if there is nothing to remove). |
492 void LeaveExitFrame(bool save_doubles, Register argument_count); | 492 void LeaveExitFrame(bool save_doubles, Register argument_count); |
493 | 493 |
494 // Get the actual activation frame alignment for target environment. | 494 // Get the actual activation frame alignment for target environment. |
495 static int ActivationFrameAlignment(); | 495 static int ActivationFrameAlignment(); |
496 | 496 |
| 497 // Reload the context register from a standard stack frame. |
| 498 void ReloadContextFromFrame(); |
| 499 |
497 void LoadContext(Register dst, int context_chain_length); | 500 void LoadContext(Register dst, int context_chain_length); |
498 | 501 |
499 // Conditionally load the cached Array transitioned map of type | 502 // Conditionally load the cached Array transitioned map of type |
500 // transitioned_kind from the native context if the map in register | 503 // transitioned_kind from the native context if the map in register |
501 // map_in_out is the cached Array map in the native context of | 504 // map_in_out is the cached Array map in the native context of |
502 // expected_kind. | 505 // expected_kind. |
503 void LoadTransitionedArrayMapConditional( | 506 void LoadTransitionedArrayMapConditional( |
504 ElementsKind expected_kind, | 507 ElementsKind expected_kind, |
505 ElementsKind transitioned_kind, | 508 ElementsKind transitioned_kind, |
506 Register map_in_out, | 509 Register map_in_out, |
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1439 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1442 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1440 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1443 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1441 #else | 1444 #else |
1442 #define ACCESS_MASM(masm) masm-> | 1445 #define ACCESS_MASM(masm) masm-> |
1443 #endif | 1446 #endif |
1444 | 1447 |
1445 | 1448 |
1446 } } // namespace v8::internal | 1449 } } // namespace v8::internal |
1447 | 1450 |
1448 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1451 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |