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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 // Check if result is zero and op is negative. | 174 // Check if result is zero and op is negative. |
175 void NegativeZeroTest(Register result, Register op, Label* then_label); | 175 void NegativeZeroTest(Register result, Register op, Label* then_label); |
176 | 176 |
177 // Check if result is zero and any of op1 and op2 are negative. | 177 // Check if result is zero and any of op1 and op2 are negative. |
178 // Register scratch is destroyed, and it must be different from op2. | 178 // Register scratch is destroyed, and it must be different from op2. |
179 void NegativeZeroTest(Register result, Register op1, Register op2, | 179 void NegativeZeroTest(Register result, Register op1, Register op2, |
180 Register scratch, Label* then_label); | 180 Register scratch, Label* then_label); |
181 | 181 |
182 // Generates code for reporting that an illegal operation has | 182 // Generates code for reporting that an illegal operation has |
183 // occurred | 183 // occurred. |
184 void IllegalOperation(); | 184 void IllegalOperation(int num_arguments); |
185 | 185 |
186 // --------------------------------------------------------------------------- | 186 // --------------------------------------------------------------------------- |
187 // Runtime calls | 187 // Runtime calls |
188 | 188 |
189 // Call a code stub. | 189 // Call a code stub. |
190 void CallStub(CodeStub* stub); | 190 void CallStub(CodeStub* stub); |
191 | 191 |
192 // Return from a code stub after popping its arguments. | 192 // Return from a code stub after popping its arguments. |
193 void StubReturn(int argc); | 193 void StubReturn(int argc); |
194 | 194 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 Register index, | 300 Register index, |
301 ScaleFactor scale, | 301 ScaleFactor scale, |
302 int offset) { | 302 int offset) { |
303 return Operand(object, index, scale, offset - kHeapObjectTag); | 303 return Operand(object, index, scale, offset - kHeapObjectTag); |
304 } | 304 } |
305 | 305 |
306 | 306 |
307 } } // namespace v8::internal | 307 } } // namespace v8::internal |
308 | 308 |
309 #endif // V8_MACRO_ASSEMBLER_IA32_H_ | 309 #endif // V8_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |