OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // Generates code for reporting that an illegal operation has | 239 // Generates code for reporting that an illegal operation has |
240 // occurred. | 240 // occurred. |
241 void IllegalOperation(int num_arguments); | 241 void IllegalOperation(int num_arguments); |
242 | 242 |
243 | 243 |
244 // --------------------------------------------------------------------------- | 244 // --------------------------------------------------------------------------- |
245 // Runtime calls | 245 // Runtime calls |
246 | 246 |
247 // Call a code stub. | 247 // Call a code stub. |
248 void CallStub(CodeStub* stub, Condition cond = al); | 248 void CallStub(CodeStub* stub, Condition cond = al); |
249 void CallJSExitStub(CodeStub* stub); | |
250 | 249 |
251 // Return from a code stub after popping its arguments. | 250 // Return from a code stub after popping its arguments. |
252 void StubReturn(int argc); | 251 void StubReturn(int argc); |
253 | 252 |
254 // Call a runtime routine. | 253 // Call a runtime routine. |
255 // Eventually this should be used for all C calls. | 254 // Eventually this should be used for all C calls. |
256 void CallRuntime(Runtime::Function* f, int num_arguments); | 255 void CallRuntime(Runtime::Function* f, int num_arguments); |
257 | 256 |
258 // Convenience function: Same as above, but takes the fid instead. | 257 // Convenience function: Same as above, but takes the fid instead. |
259 void CallRuntime(Runtime::FunctionId fid, int num_arguments); | 258 void CallRuntime(Runtime::FunctionId fid, int num_arguments); |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 392 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
394 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 393 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
395 #else | 394 #else |
396 #define ACCESS_MASM(masm) masm-> | 395 #define ACCESS_MASM(masm) masm-> |
397 #endif | 396 #endif |
398 | 397 |
399 | 398 |
400 } } // namespace v8::internal | 399 } } // namespace v8::internal |
401 | 400 |
402 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 401 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |