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

Side by Side Diff: src/ia32/macro-assembler-ia32.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/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 // Abort execution if argument is a smi. Used in debug code. 484 // Abort execution if argument is a smi. Used in debug code.
485 void AbortIfSmi(Register object); 485 void AbortIfSmi(Register object);
486 486
487 // Abort execution if argument is a string. Used in debug code. 487 // Abort execution if argument is a string. Used in debug code.
488 void AbortIfNotString(Register object); 488 void AbortIfNotString(Register object);
489 489
490 // --------------------------------------------------------------------------- 490 // ---------------------------------------------------------------------------
491 // Exception handling 491 // Exception handling
492 492
493 // Push a new try handler and link it into try handler chain. 493 // Push a new try handler and link it into try handler chain.
494 void PushTryHandler(CodeLocation try_location, 494 void PushTryHandler(StackHandler::Kind kind, int handler_index);
495 HandlerType type,
496 int handler_index);
497 495
498 // Unlink the stack handler on top of the stack from the try handler chain. 496 // Unlink the stack handler on top of the stack from the try handler chain.
499 void PopTryHandler(); 497 void PopTryHandler();
500 498
501 // Activate the top handler in the try hander chain. 499 // Activate the top handler in the try hander chain.
502 void Throw(Register value); 500 void Throw(Register value);
503 501
504 void ThrowUncatchable(UncatchableExceptionType type, Register value); 502 void ThrowUncatchable(UncatchableExceptionType type, Register value);
505 503
506 // --------------------------------------------------------------------------- 504 // ---------------------------------------------------------------------------
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 } \ 964 } \
967 masm-> 965 masm->
968 #else 966 #else
969 #define ACCESS_MASM(masm) masm-> 967 #define ACCESS_MASM(masm) masm->
970 #endif 968 #endif
971 969
972 970
973 } } // namespace v8::internal 971 } } // namespace v8::internal
974 972
975 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 973 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698