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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 224 |
225 // Generates code for reporting that an illegal operation has | 225 // Generates code for reporting that an illegal operation has |
226 // occurred. | 226 // occurred. |
227 void IllegalOperation(int num_arguments); | 227 void IllegalOperation(int num_arguments); |
228 | 228 |
229 | 229 |
230 // --------------------------------------------------------------------------- | 230 // --------------------------------------------------------------------------- |
231 // Runtime calls | 231 // Runtime calls |
232 | 232 |
233 // Call a code stub. | 233 // Call a code stub. |
234 void CallStub(CodeStub* stub); | 234 void CallStub(CodeStub* stub, Condition cond = al); |
235 void CallJSExitStub(CodeStub* stub); | 235 void CallJSExitStub(CodeStub* stub); |
236 | 236 |
237 // Return from a code stub after popping its arguments. | 237 // Return from a code stub after popping its arguments. |
238 void StubReturn(int argc); | 238 void StubReturn(int argc); |
239 | 239 |
240 // Call a runtime routine. | 240 // Call a runtime routine. |
241 // Eventually this should be used for all C calls. | 241 // Eventually this should be used for all C calls. |
242 void CallRuntime(Runtime::Function* f, int num_arguments); | 242 void CallRuntime(Runtime::Function* f, int num_arguments); |
243 | 243 |
244 // Convenience function: Same as above, but takes the fid instead. | 244 // Convenience function: Same as above, but takes the fid instead. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 340 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
341 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 341 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
342 #else | 342 #else |
343 #define ACCESS_MASM(masm) masm-> | 343 #define ACCESS_MASM(masm) masm-> |
344 #endif | 344 #endif |
345 | 345 |
346 | 346 |
347 } } // namespace v8::internal | 347 } } // namespace v8::internal |
348 | 348 |
349 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 349 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |