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

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

Issue 155723005: A64: Synchronize with r19001. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
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/a64/lithium-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 int num_double_arguments); 989 int num_double_arguments);
990 990
991 // Calls an API function. Allocates HandleScope, extracts returned value 991 // Calls an API function. Allocates HandleScope, extracts returned value
992 // from handle and propagates exceptions. 992 // from handle and propagates exceptions.
993 // 'stack_space' is the space to be unwound on exit (includes the call JS 993 // 'stack_space' is the space to be unwound on exit (includes the call JS
994 // arguments space and the additional space allocated for the fast call). 994 // arguments space and the additional space allocated for the fast call).
995 // 'spill_offset' is the offset from the stack pointer where 995 // 'spill_offset' is the offset from the stack pointer where
996 // CallApiFunctionAndReturn can spill registers. 996 // CallApiFunctionAndReturn can spill registers.
997 void CallApiFunctionAndReturn(Register function_address, 997 void CallApiFunctionAndReturn(Register function_address,
998 ExternalReference thunk_ref, 998 ExternalReference thunk_ref,
999 Register thunk_last_arg,
1000 int stack_space, 999 int stack_space,
1001 int spill_offset, 1000 int spill_offset,
1002 MemOperand return_value_operand, 1001 MemOperand return_value_operand,
1003 MemOperand* context_restore_operand); 1002 MemOperand* context_restore_operand);
1004 1003
1005 // The number of register that CallApiFunctionAndReturn will need to save on 1004 // The number of register that CallApiFunctionAndReturn will need to save on
1006 // the stack. The space for these registers need to be allocated in the 1005 // the stack. The space for these registers need to be allocated in the
1007 // ExitFrame before calling CallApiFunctionAndReturn. 1006 // ExitFrame before calling CallApiFunctionAndReturn.
1008 static const int kCallApiFunctionSpillSpace = 4; 1007 static const int kCallApiFunctionSpillSpace = 4;
1009 1008
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2184 #error "Unsupported option" 2183 #error "Unsupported option"
2185 #define CODE_COVERAGE_STRINGIFY(x) #x 2184 #define CODE_COVERAGE_STRINGIFY(x) #x
2186 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2185 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2187 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2186 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2188 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2187 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2189 #else 2188 #else
2190 #define ACCESS_MASM(masm) masm-> 2189 #define ACCESS_MASM(masm) masm->
2191 #endif 2190 #endif
2192 2191
2193 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ 2192 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698