| 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 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1540 __ j(less, &fill); | 1540 __ j(less, &fill); |
| 1541 | 1541 |
| 1542 // Restore function pointer. | 1542 // Restore function pointer. |
| 1543 __ movq(rdi, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); | 1543 __ movq(rdi, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); |
| 1544 } | 1544 } |
| 1545 | 1545 |
| 1546 // Call the entry point. | 1546 // Call the entry point. |
| 1547 __ bind(&invoke); | 1547 __ bind(&invoke); |
| 1548 __ call(rdx); | 1548 __ call(rdx); |
| 1549 | 1549 |
| 1550 masm->isolate()->heap()->SetArgumentsAdaptorDeoptPCOffset(masm->pc_offset()); |
| 1550 // Leave frame and return. | 1551 // Leave frame and return. |
| 1551 LeaveArgumentsAdaptorFrame(masm); | 1552 LeaveArgumentsAdaptorFrame(masm); |
| 1552 __ ret(0); | 1553 __ ret(0); |
| 1553 | 1554 |
| 1554 // ------------------------------------------- | 1555 // ------------------------------------------- |
| 1555 // Dont adapt arguments. | 1556 // Dont adapt arguments. |
| 1556 // ------------------------------------------- | 1557 // ------------------------------------------- |
| 1557 __ bind(&dont_adapt_arguments); | 1558 __ bind(&dont_adapt_arguments); |
| 1558 __ jmp(rdx); | 1559 __ jmp(rdx); |
| 1559 } | 1560 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1616 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); | 1617 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); |
| 1617 generator.Generate(); | 1618 generator.Generate(); |
| 1618 } | 1619 } |
| 1619 | 1620 |
| 1620 | 1621 |
| 1621 #undef __ | 1622 #undef __ |
| 1622 | 1623 |
| 1623 } } // namespace v8::internal | 1624 } } // namespace v8::internal |
| 1624 | 1625 |
| 1625 #endif // V8_TARGET_ARCH_X64 | 1626 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |