| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |