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

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

Issue 9372016: Simplify handler pushing. (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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 954
955 // Abort execution if argument is not the root value with the given index. 955 // Abort execution if argument is not the root value with the given index.
956 void AbortIfNotRootValue(Register src, 956 void AbortIfNotRootValue(Register src,
957 Heap::RootListIndex root_value_index, 957 Heap::RootListIndex root_value_index,
958 const char* message); 958 const char* message);
959 959
960 // --------------------------------------------------------------------------- 960 // ---------------------------------------------------------------------------
961 // Exception handling 961 // Exception handling
962 962
963 // Push a new try handler and link it into try handler chain. 963 // Push a new try handler and link it into try handler chain.
964 void PushTryHandler(CodeLocation try_location, 964 void PushTryHandler(StackHandler::Kind kind, int handler_index);
965 HandlerType type,
966 int handler_index);
967 965
968 // 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.
969 void PopTryHandler(); 967 void PopTryHandler();
970 968
971 // 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
972 // thrown value. 970 // thrown value.
973 void Throw(Register value); 971 void Throw(Register value);
974 972
975 // Propagate an uncatchable exception out of the current JS stack. 973 // Propagate an uncatchable exception out of the current JS stack.
976 void ThrowUncatchable(UncatchableExceptionType type, Register value); 974 void ThrowUncatchable(UncatchableExceptionType type, Register value);
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 masm->popfd(); \ 1463 masm->popfd(); \
1466 } \ 1464 } \
1467 masm-> 1465 masm->
1468 #else 1466 #else
1469 #define ACCESS_MASM(masm) masm-> 1467 #define ACCESS_MASM(masm) masm->
1470 #endif 1468 #endif
1471 1469
1472 } } // namespace v8::internal 1470 } } // namespace v8::internal
1473 1471
1474 #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