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

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

Issue 492002: Fast-codegen: Implementing try/finally on top of nesting context. (Closed)
Patch Set: Updated to be based on latest release. Created 11 years 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
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // --------------------------------------------------------------------------- 145 // ---------------------------------------------------------------------------
146 // Exception handling 146 // Exception handling
147 147
148 // Push a new try handler and link into try handler chain. The return 148 // Push a new try handler and link into try handler chain. The return
149 // address must be pushed before calling this helper. 149 // address must be pushed before calling this helper.
150 void PushTryHandler(CodeLocation try_location, HandlerType type); 150 void PushTryHandler(CodeLocation try_location, HandlerType type);
151 151
152 // Unlink the stack handler on top of the stack from the try handler chain. 152 // Unlink the stack handler on top of the stack from the try handler chain.
153 void PopTryHandler(); 153 void PopTryHandler();
154 154
155
156 // --------------------------------------------------------------------------- 155 // ---------------------------------------------------------------------------
157 // Inline caching support 156 // Inline caching support
158 157
159 // Generates code that verifies that the maps of objects in the 158 // Generates code that verifies that the maps of objects in the
160 // prototype chain of object hasn't changed since the code was 159 // prototype chain of object hasn't changed since the code was
161 // generated and branches to the miss label if any map has. If 160 // generated and branches to the miss label if any map has. If
162 // necessary the function also generates code for security check 161 // necessary the function also generates code for security check
163 // in case of global object holders. The scratch and holder 162 // in case of global object holders. The scratch and holder
164 // registers are always clobbered, but the object register is only 163 // registers are always clobbered, but the object register is only
165 // clobbered if it the same as the holder register. The function 164 // clobbered if it the same as the holder register. The function
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 } \ 477 } \
479 masm-> 478 masm->
480 #else 479 #else
481 #define ACCESS_MASM(masm) masm-> 480 #define ACCESS_MASM(masm) masm->
482 #endif 481 #endif
483 482
484 483
485 } } // namespace v8::internal 484 } } // namespace v8::internal
486 485
487 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 486 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698