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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 964 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
965 | 965 |
966 // Unlink the stack handler on top of the stack from the try handler chain. | 966 // Unlink the stack handler on top of the stack from the try handler chain. |
967 void PopTryHandler(); | 967 void PopTryHandler(); |
968 | 968 |
969 // Activate the top handler in the try hander chain and pass the | 969 // Activate the top handler in the try hander chain and pass the |
970 // thrown value. | 970 // thrown value. |
971 void Throw(Register value); | 971 void Throw(Register value); |
972 | 972 |
973 // Propagate an uncatchable exception out of the current JS stack. | 973 // Propagate an uncatchable exception out of the current JS stack. |
974 void ThrowUncatchable(UncatchableExceptionType type, Register value); | 974 void ThrowUncatchable(Register value); |
975 | 975 |
976 // --------------------------------------------------------------------------- | 976 // --------------------------------------------------------------------------- |
977 // Inline caching support | 977 // Inline caching support |
978 | 978 |
979 // Generate code for checking access rights - used for security checks | 979 // Generate code for checking access rights - used for security checks |
980 // on access to global objects across environments. The holder register | 980 // on access to global objects across environments. The holder register |
981 // is left untouched, but the scratch register and kScratchRegister, | 981 // is left untouched, but the scratch register and kScratchRegister, |
982 // which must be different, are clobbered. | 982 // which must be different, are clobbered. |
983 void CheckAccessGlobalProxy(Register holder_reg, | 983 void CheckAccessGlobalProxy(Register holder_reg, |
984 Register scratch, | 984 Register scratch, |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 masm->popfd(); \ | 1463 masm->popfd(); \ |
1464 } \ | 1464 } \ |
1465 masm-> | 1465 masm-> |
1466 #else | 1466 #else |
1467 #define ACCESS_MASM(masm) masm-> | 1467 #define ACCESS_MASM(masm) masm-> |
1468 #endif | 1468 #endif |
1469 | 1469 |
1470 } } // namespace v8::internal | 1470 } } // namespace v8::internal |
1471 | 1471 |
1472 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1472 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |