Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 148333003: crankshaft support for api method calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1129
1130 void MovFromFloatParameter(DwVfpRegister dst); 1130 void MovFromFloatParameter(DwVfpRegister dst);
1131 void MovFromFloatResult(DwVfpRegister dst); 1131 void MovFromFloatResult(DwVfpRegister dst);
1132 1132
1133 // Calls an API function. Allocates HandleScope, extracts returned value 1133 // Calls an API function. Allocates HandleScope, extracts returned value
1134 // from handle and propagates exceptions. Restores context. stack_space 1134 // from handle and propagates exceptions. Restores context. stack_space
1135 // - space to be unwound on exit (includes the call JS arguments space and 1135 // - space to be unwound on exit (includes the call JS arguments space and
1136 // the additional space allocated for the fast call). 1136 // the additional space allocated for the fast call).
1137 void CallApiFunctionAndReturn(Register function_address, 1137 void CallApiFunctionAndReturn(Register function_address,
1138 ExternalReference thunk_ref, 1138 ExternalReference thunk_ref,
1139 Register thunk_last_arg,
1140 int stack_space, 1139 int stack_space,
1141 MemOperand return_value_operand, 1140 MemOperand return_value_operand,
1142 MemOperand* context_restore_operand); 1141 MemOperand* context_restore_operand);
1143 1142
1144 // Jump to a runtime routine. 1143 // Jump to a runtime routine.
1145 void JumpToExternalReference(const ExternalReference& builtin); 1144 void JumpToExternalReference(const ExternalReference& builtin);
1146 1145
1147 // Invoke specified builtin JavaScript function. Adds an entry to 1146 // Invoke specified builtin JavaScript function. Adds an entry to
1148 // the unresolved list if the name does not resolve. 1147 // the unresolved list if the name does not resolve.
1149 void InvokeBuiltin(Builtins::JavaScript id, 1148 void InvokeBuiltin(Builtins::JavaScript id,
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1535 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1536 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1538 #else 1537 #else
1539 #define ACCESS_MASM(masm) masm-> 1538 #define ACCESS_MASM(masm) masm->
1540 #endif 1539 #endif
1541 1540
1542 1541
1543 } } // namespace v8::internal 1542 } } // namespace v8::internal
1544 1543
1545 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1544 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698