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