| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 Label* miss); | 193 Label* miss); |
| 194 | 194 |
| 195 // Generates code for reporting that an illegal operation has | 195 // Generates code for reporting that an illegal operation has |
| 196 // occurred. | 196 // occurred. |
| 197 void IllegalOperation(int num_arguments); | 197 void IllegalOperation(int num_arguments); |
| 198 | 198 |
| 199 // --------------------------------------------------------------------------- | 199 // --------------------------------------------------------------------------- |
| 200 // Runtime calls | 200 // Runtime calls |
| 201 | 201 |
| 202 // Call a code stub. | 202 // Call a code stub. |
| 203 void CallStub(CodeStub* stub); | 203 void CallStub(CodeStub* stub, RelocInfo::Mode mode = RelocInfo::CODE_TARGET); |
| 204 | 204 |
| 205 // Return from a code stub after popping its arguments. | 205 // Return from a code stub after popping its arguments. |
| 206 void StubReturn(int argc); | 206 void StubReturn(int argc); |
| 207 | 207 |
| 208 // Call a runtime routine. | 208 // Call a runtime routine. |
| 209 // Eventually this should be used for all C calls. | 209 // Eventually this should be used for all C calls. |
| 210 void CallRuntime(Runtime::Function* f, int num_arguments); | 210 void CallRuntime(Runtime::Function* f, int num_arguments); |
| 211 | 211 |
| 212 // Convenience function: Same as above, but takes the fid instead. | 212 // Convenience function: Same as above, but takes the fid instead. |
| 213 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 213 void CallRuntime(Runtime::FunctionId id, int num_arguments); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 Register index, | 317 Register index, |
| 318 ScaleFactor scale, | 318 ScaleFactor scale, |
| 319 int offset) { | 319 int offset) { |
| 320 return Operand(object, index, scale, offset - kHeapObjectTag); | 320 return Operand(object, index, scale, offset - kHeapObjectTag); |
| 321 } | 321 } |
| 322 | 322 |
| 323 | 323 |
| 324 } } // namespace v8::internal | 324 } } // namespace v8::internal |
| 325 | 325 |
| 326 #endif // V8_MACRO_ASSEMBLER_IA32_H_ | 326 #endif // V8_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |