| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 // garbage collection, since that might move the code and invalidate the | 680 // garbage collection, since that might move the code and invalidate the |
| 681 // return address (unless this is somehow accounted for by the called | 681 // return address (unless this is somehow accounted for by the called |
| 682 // function). | 682 // function). |
| 683 void CallCFunction(ExternalReference function, int num_arguments); | 683 void CallCFunction(ExternalReference function, int num_arguments); |
| 684 void CallCFunction(Register function, int num_arguments); | 684 void CallCFunction(Register function, int num_arguments); |
| 685 | 685 |
| 686 // Calls an API function. Allocates HandleScope, extracts returned value | 686 // Calls an API function. Allocates HandleScope, extracts returned value |
| 687 // from handle and propagates exceptions. Restores context. | 687 // from handle and propagates exceptions. Restores context. |
| 688 // stack_space - space to be unwound on exit (includes the call js | 688 // stack_space - space to be unwound on exit (includes the call js |
| 689 // arguments space and the additional space allocated for the fast call). | 689 // arguments space and the additional space allocated for the fast call). |
| 690 MaybeObject* TryCallApiFunctionAndReturn(ApiFunction* function, | 690 MaybeObject* TryCallApiFunctionAndReturn(ExternalReference function, |
| 691 int stack_space); | 691 int stack_space); |
| 692 | 692 |
| 693 // Jump to a runtime routine. | 693 // Jump to a runtime routine. |
| 694 void JumpToExternalReference(const ExternalReference& builtin); | 694 void JumpToExternalReference(const ExternalReference& builtin); |
| 695 | 695 |
| 696 MaybeObject* TryJumpToExternalReference(const ExternalReference& ext); | 696 MaybeObject* TryJumpToExternalReference(const ExternalReference& ext); |
| 697 | 697 |
| 698 // Invoke specified builtin JavaScript function. Adds an entry to | 698 // Invoke specified builtin JavaScript function. Adds an entry to |
| 699 // the unresolved list if the name does not resolve. | 699 // the unresolved list if the name does not resolve. |
| 700 void InvokeBuiltin(Builtins::JavaScript id, | 700 void InvokeBuiltin(Builtins::JavaScript id, |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 953 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 953 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 954 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 954 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 955 #else | 955 #else |
| 956 #define ACCESS_MASM(masm) masm-> | 956 #define ACCESS_MASM(masm) masm-> |
| 957 #endif | 957 #endif |
| 958 | 958 |
| 959 | 959 |
| 960 } } // namespace v8::internal | 960 } } // namespace v8::internal |
| 961 | 961 |
| 962 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 962 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |