| 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 } | 449 } |
| 450 | 450 |
| 451 | 451 |
| 452 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { | 452 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { |
| 453 Generate_JSConstructStubHelper(masm, true, false); | 453 Generate_JSConstructStubHelper(masm, true, false); |
| 454 } | 454 } |
| 455 | 455 |
| 456 | 456 |
| 457 static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, | 457 static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, |
| 458 bool is_construct) { | 458 bool is_construct) { |
| 459 ProfileEntryHookStub::MaybeCallEntryHook(masm); |
| 460 |
| 459 // Expects five C++ function parameters. | 461 // Expects five C++ function parameters. |
| 460 // - Address entry (ignored) | 462 // - Address entry (ignored) |
| 461 // - JSFunction* function ( | 463 // - JSFunction* function ( |
| 462 // - Object* receiver | 464 // - Object* receiver |
| 463 // - int argc | 465 // - int argc |
| 464 // - Object*** argv | 466 // - Object*** argv |
| 465 // (see Handle::Invoke in execution.cc). | 467 // (see Handle::Invoke in execution.cc). |
| 466 | 468 |
| 467 // Open a C++ scope for the FrameScope. | 469 // Open a C++ scope for the FrameScope. |
| 468 { | 470 { |
| (...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1848 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); | 1850 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); |
| 1849 generator.Generate(); | 1851 generator.Generate(); |
| 1850 } | 1852 } |
| 1851 | 1853 |
| 1852 | 1854 |
| 1853 #undef __ | 1855 #undef __ |
| 1854 | 1856 |
| 1855 } } // namespace v8::internal | 1857 } } // namespace v8::internal |
| 1856 | 1858 |
| 1857 #endif // V8_TARGET_ARCH_X64 | 1859 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |