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

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: Created 7 years 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
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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 void SetCallKind(Register dst, CallKind kind); 348 void SetCallKind(Register dst, CallKind kind);
349 349
350 // Invoke the JavaScript function code by either calling or jumping. 350 // Invoke the JavaScript function code by either calling or jumping.
351 void InvokeCode(Register code, 351 void InvokeCode(Register code,
352 const ParameterCount& expected, 352 const ParameterCount& expected,
353 const ParameterCount& actual, 353 const ParameterCount& actual,
354 InvokeFlag flag, 354 InvokeFlag flag,
355 const CallWrapper& call_wrapper, 355 const CallWrapper& call_wrapper,
356 CallKind call_kind); 356 CallKind call_kind);
357 357
358 void InvokeCode(Handle<Code> code,
359 const ParameterCount& expected,
360 const ParameterCount& actual,
361 RelocInfo::Mode rmode,
362 InvokeFlag flag,
363 const CallWrapper& call_wrapper,
364 CallKind call_kind);
365
366 // Invoke the JavaScript function in the given register. Changes the 358 // Invoke the JavaScript function in the given register. Changes the
367 // current context to the context in the function before invoking. 359 // current context to the context in the function before invoking.
368 void InvokeFunction(Register function, 360 void InvokeFunction(Register function,
369 const ParameterCount& actual, 361 const ParameterCount& actual,
370 InvokeFlag flag, 362 InvokeFlag flag,
371 const CallWrapper& call_wrapper, 363 const CallWrapper& call_wrapper,
372 CallKind call_kind); 364 CallKind call_kind);
373 365
374 void InvokeFunction(Register function, 366 void InvokeFunction(Register function,
375 const ParameterCount& expected, 367 const ParameterCount& expected,
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 masm->popfq(); \ 1608 masm->popfq(); \
1617 } \ 1609 } \
1618 masm-> 1610 masm->
1619 #else 1611 #else
1620 #define ACCESS_MASM(masm) masm-> 1612 #define ACCESS_MASM(masm) masm->
1621 #endif 1613 #endif
1622 1614
1623 } } // namespace v8::internal 1615 } } // namespace v8::internal
1624 1616
1625 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1617 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698