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 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1432 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); | 1434 Deoptimizer::EntryGenerator generator(masm, Deoptimizer::OSR); |
1433 generator.Generate(); | 1435 generator.Generate(); |
1434 } | 1436 } |
1435 | 1437 |
1436 | 1438 |
1437 #undef __ | 1439 #undef __ |
1438 | 1440 |
1439 } } // namespace v8::internal | 1441 } } // namespace v8::internal |
1440 | 1442 |
1441 #endif // V8_TARGET_ARCH_X64 | 1443 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |