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

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

Issue 104663004: Preview of a first step towards unification of hydrogen calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merge fix Created 6 years, 11 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/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // --------------------------------------------------------------------------- 342 // ---------------------------------------------------------------------------
343 // JavaScript invokes 343 // JavaScript invokes
344 344
345 // Invoke the JavaScript function code by either calling or jumping. 345 // Invoke the JavaScript function code by either calling or jumping.
346 void InvokeCode(Register code, 346 void InvokeCode(Register code,
347 const ParameterCount& expected, 347 const ParameterCount& expected,
348 const ParameterCount& actual, 348 const ParameterCount& actual,
349 InvokeFlag flag, 349 InvokeFlag flag,
350 const CallWrapper& call_wrapper); 350 const CallWrapper& call_wrapper);
351 351
352 void InvokeCode(Handle<Code> code,
353 const ParameterCount& expected,
354 const ParameterCount& actual,
355 RelocInfo::Mode rmode,
356 InvokeFlag flag,
357 const CallWrapper& call_wrapper);
358
359 // Invoke the JavaScript function in the given register. Changes the 352 // Invoke the JavaScript function in the given register. Changes the
360 // current context to the context in the function before invoking. 353 // current context to the context in the function before invoking.
361 void InvokeFunction(Register function, 354 void InvokeFunction(Register function,
362 const ParameterCount& actual, 355 const ParameterCount& actual,
363 InvokeFlag flag, 356 InvokeFlag flag,
364 const CallWrapper& call_wrapper); 357 const CallWrapper& call_wrapper);
365 358
366 void InvokeFunction(Register function, 359 void InvokeFunction(Register function,
367 const ParameterCount& expected, 360 const ParameterCount& expected,
368 const ParameterCount& actual, 361 const ParameterCount& actual,
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 masm->popfq(); \ 1615 masm->popfq(); \
1623 } \ 1616 } \
1624 masm-> 1617 masm->
1625 #else 1618 #else
1626 #define ACCESS_MASM(masm) masm-> 1619 #define ACCESS_MASM(masm) masm->
1627 #endif 1620 #endif
1628 1621
1629 } } // namespace v8::internal 1622 } } // namespace v8::internal
1630 1623
1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1624 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698