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

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

Issue 201042: Win64 - Allow returning two values from a runtime function. (Closed)
Patch Set: Fixed typo. Created 11 years, 3 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // Call a runtime routine. 275 // Call a runtime routine.
276 // Eventually this should be used for all C calls. 276 // Eventually this should be used for all C calls.
277 void CallRuntime(Runtime::Function* f, int num_arguments); 277 void CallRuntime(Runtime::Function* f, int num_arguments);
278 278
279 // Convenience function: Same as above, but takes the fid instead. 279 // Convenience function: Same as above, but takes the fid instead.
280 void CallRuntime(Runtime::FunctionId fid, int num_arguments); 280 void CallRuntime(Runtime::FunctionId fid, int num_arguments);
281 281
282 // Tail call of a runtime routine (jump). 282 // Tail call of a runtime routine (jump).
283 // Like JumpToBuiltin, but also takes care of passing the number 283 // Like JumpToBuiltin, but also takes care of passing the number
284 // of parameters. 284 // of parameters.
285 void TailCallRuntime(const ExternalReference& ext, int num_arguments); 285 void TailCallRuntime(const ExternalReference& ext,
286 int num_arguments,
287 int result_size);
286 288
287 // Jump to the builtin routine. 289 // Jump to the builtin routine.
288 void JumpToBuiltin(const ExternalReference& builtin); 290 void JumpToBuiltin(const ExternalReference& builtin);
289 291
290 // Invoke specified builtin JavaScript function. Adds an entry to 292 // Invoke specified builtin JavaScript function. Adds an entry to
291 // the unresolved list if the name does not resolve. 293 // the unresolved list if the name does not resolve.
292 void InvokeBuiltin(Builtins::JavaScript id, InvokeJSFlags flags); 294 void InvokeBuiltin(Builtins::JavaScript id, InvokeJSFlags flags);
293 295
294 // Store the code object for the given builtin in the target register and 296 // Store the code object for the given builtin in the target register and
295 // setup the function in r1. 297 // setup the function in r1.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 377 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
376 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 378 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
377 #else 379 #else
378 #define ACCESS_MASM(masm) masm-> 380 #define ACCESS_MASM(masm) masm->
379 #endif 381 #endif
380 382
381 383
382 } } // namespace v8::internal 384 } } // namespace v8::internal
383 385
384 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 386 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | src/codegen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698