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

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

Issue 148593004: A64: Synchronize with r18084. (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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 // Throw a message string as an exception if the value is a smi. 949 // Throw a message string as an exception if the value is a smi.
950 void ThrowIfSmi(const Register& value, BailoutReason reason); 950 void ThrowIfSmi(const Register& value, BailoutReason reason);
951 951
952 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); 952 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None());
953 void TailCallStub(CodeStub* stub); 953 void TailCallStub(CodeStub* stub);
954 954
955 void CallRuntime(const Runtime::Function* f, 955 void CallRuntime(const Runtime::Function* f,
956 int num_arguments, 956 int num_arguments,
957 SaveFPRegsMode save_doubles = kDontSaveFPRegs); 957 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
958 958
959 void CallRuntime(Runtime::FunctionId id, int num_arguments) { 959 void CallRuntime(Runtime::FunctionId id,
960 CallRuntime(Runtime::FunctionForId(id), num_arguments); 960 int num_arguments,
961 SaveFPRegsMode save_doubles = kDontSaveFPRegs) {
962 CallRuntime(Runtime::FunctionForId(id), num_arguments, save_doubles);
961 } 963 }
962 964
963 // TODO(all): Why does this variant save FP regs by default? 965 // TODO(all): Why does this variant save FP regs unconditionally?
964 void CallRuntimeSaveDoubles(Runtime::FunctionId id) { 966 void CallRuntimeSaveDoubles(Runtime::FunctionId id) {
965 const Runtime::Function* function = Runtime::FunctionForId(id); 967 const Runtime::Function* function = Runtime::FunctionForId(id);
966 CallRuntime(function, function->nargs, kSaveFPRegs); 968 CallRuntime(function, function->nargs, kSaveFPRegs);
967 } 969 }
968 970
969 void TailCallRuntime(Runtime::FunctionId fid, 971 void TailCallRuntime(Runtime::FunctionId fid,
970 int num_arguments, 972 int num_arguments,
971 int result_size); 973 int result_size);
972 974
973 int ActivationFrameAlignment(); 975 int ActivationFrameAlignment();
(...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 #error "Unsupported option" 2197 #error "Unsupported option"
2196 #define CODE_COVERAGE_STRINGIFY(x) #x 2198 #define CODE_COVERAGE_STRINGIFY(x) #x
2197 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2199 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2198 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2200 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2199 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2201 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2200 #else 2202 #else
2201 #define ACCESS_MASM(masm) masm-> 2203 #define ACCESS_MASM(masm) masm->
2202 #endif 2204 #endif
2203 2205
2204 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ 2206 #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