Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 9373022: Streamline throwing in the C entry stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698