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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 // function). | 683 // function). |
684 void CallCFunction(ExternalReference function, int num_arguments); | 684 void CallCFunction(ExternalReference function, int num_arguments); |
685 void CallCFunction(Register function, int num_arguments); | 685 void CallCFunction(Register function, int num_arguments); |
686 | 686 |
687 void GetCFunctionDoubleResult(const DoubleRegister dst); | 687 void GetCFunctionDoubleResult(const DoubleRegister dst); |
688 | 688 |
689 // Calls an API function. Allocates HandleScope, extracts returned value | 689 // Calls an API function. Allocates HandleScope, extracts returned value |
690 // from handle and propagates exceptions. Restores context. | 690 // from handle and propagates exceptions. Restores context. |
691 // stack_space - space to be unwound on exit (includes the call js | 691 // stack_space - space to be unwound on exit (includes the call js |
692 // arguments space and the additional space allocated for the fast call). | 692 // arguments space and the additional space allocated for the fast call). |
693 MaybeObject* TryCallApiFunctionAndReturn(ApiFunction* function, | 693 MaybeObject* TryCallApiFunctionAndReturn(ExternalReference function, |
694 int stack_space); | 694 int stack_space); |
695 | 695 |
696 // Jump to a runtime routine. | 696 // Jump to a runtime routine. |
697 void JumpToExternalReference(const ExternalReference& builtin); | 697 void JumpToExternalReference(const ExternalReference& builtin); |
698 | 698 |
699 MaybeObject* TryJumpToExternalReference(const ExternalReference& ext); | 699 MaybeObject* TryJumpToExternalReference(const ExternalReference& ext); |
700 | 700 |
701 // Invoke specified builtin JavaScript function. Adds an entry to | 701 // Invoke specified builtin JavaScript function. Adds an entry to |
702 // the unresolved list if the name does not resolve. | 702 // the unresolved list if the name does not resolve. |
703 void InvokeBuiltin(Builtins::JavaScript id, | 703 void InvokeBuiltin(Builtins::JavaScript id, |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 965 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
966 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 966 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
967 #else | 967 #else |
968 #define ACCESS_MASM(masm) masm-> | 968 #define ACCESS_MASM(masm) masm-> |
969 #endif | 969 #endif |
970 | 970 |
971 | 971 |
972 } } // namespace v8::internal | 972 } } // namespace v8::internal |
973 | 973 |
974 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 974 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |