OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // Compare instance type for map. | 152 // Compare instance type for map. |
153 void CmpInstanceType(Register map, InstanceType type); | 153 void CmpInstanceType(Register map, InstanceType type); |
154 | 154 |
155 // FCmp is similar to integer cmp, but requires unsigned | 155 // FCmp is similar to integer cmp, but requires unsigned |
156 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 156 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
157 void FCmp(); | 157 void FCmp(); |
158 | 158 |
159 // --------------------------------------------------------------------------- | 159 // --------------------------------------------------------------------------- |
160 // Exception handling | 160 // Exception handling |
161 | 161 |
162 // Push a new try handler and link into try handler chain. | 162 // Push a new try handler and link into try handler chain. The return |
163 // The return address must be pushed before calling this helper. | 163 // address must be pushed before calling this helper. |
164 // On exit, rax contains TOS (next_sp). | |
165 void PushTryHandler(CodeLocation try_location, HandlerType type); | 164 void PushTryHandler(CodeLocation try_location, HandlerType type); |
166 | 165 |
167 | 166 |
168 // --------------------------------------------------------------------------- | 167 // --------------------------------------------------------------------------- |
169 // Inline caching support | 168 // Inline caching support |
170 | 169 |
171 // Generates code that verifies that the maps of objects in the | 170 // Generates code that verifies that the maps of objects in the |
172 // prototype chain of object hasn't changed since the code was | 171 // prototype chain of object hasn't changed since the code was |
173 // generated and branches to the miss label if any map has. If | 172 // generated and branches to the miss label if any map has. If |
174 // necessary the function also generates code for security check | 173 // necessary the function also generates code for security check |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 } \ | 367 } \ |
369 masm-> | 368 masm-> |
370 #else | 369 #else |
371 #define ACCESS_MASM(masm) masm-> | 370 #define ACCESS_MASM(masm) masm-> |
372 #endif | 371 #endif |
373 | 372 |
374 | 373 |
375 } } // namespace v8::internal | 374 } } // namespace v8::internal |
376 | 375 |
377 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 376 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |