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

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

Issue 150913002: MIPS: crankshaft support for api method calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 void MovToFloatParameter(DoubleRegister src); 1271 void MovToFloatParameter(DoubleRegister src);
1272 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); 1272 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2);
1273 void MovToFloatResult(DoubleRegister src); 1273 void MovToFloatResult(DoubleRegister src);
1274 1274
1275 // Calls an API function. Allocates HandleScope, extracts returned value 1275 // Calls an API function. Allocates HandleScope, extracts returned value
1276 // from handle and propagates exceptions. Restores context. stack_space 1276 // from handle and propagates exceptions. Restores context. stack_space
1277 // - space to be unwound on exit (includes the call JS arguments space and 1277 // - space to be unwound on exit (includes the call JS arguments space and
1278 // the additional space allocated for the fast call). 1278 // the additional space allocated for the fast call).
1279 void CallApiFunctionAndReturn(Register function_address, 1279 void CallApiFunctionAndReturn(Register function_address,
1280 ExternalReference thunk_ref, 1280 ExternalReference thunk_ref,
1281 Register thunk_last_arg,
1282 int stack_space, 1281 int stack_space,
1283 MemOperand return_value_operand, 1282 MemOperand return_value_operand,
1284 MemOperand* context_restore_operand); 1283 MemOperand* context_restore_operand);
1285 1284
1286 // Jump to the builtin routine. 1285 // Jump to the builtin routine.
1287 void JumpToExternalReference(const ExternalReference& builtin, 1286 void JumpToExternalReference(const ExternalReference& builtin,
1288 BranchDelaySlot bd = PROTECT); 1287 BranchDelaySlot bd = PROTECT);
1289 1288
1290 // Invoke specified builtin JavaScript function. Adds an entry to 1289 // Invoke specified builtin JavaScript function. Adds an entry to
1291 // the unresolved list if the name does not resolve. 1290 // the unresolved list if the name does not resolve.
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1680 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1679 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1681 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1680 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1682 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1681 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1683 #else 1682 #else
1684 #define ACCESS_MASM(masm) masm-> 1683 #define ACCESS_MASM(masm) masm->
1685 #endif 1684 #endif
1686 1685
1687 } } // namespace v8::internal 1686 } } // namespace v8::internal
1688 1687
1689 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1688 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698