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/builtins-x64.cc

Issue 16578008: Improved function entry hook coverage (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@post_fix
Patch Set: Fix Windows X64 compile warnings." Created 7 years, 5 months 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
« no previous file with comments | « src/v8.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « src/v8.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698