Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: include/v8.h

Issue 18062006: Revert r15361 "Improved function entry hook coverage" because of ARM build error. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.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 4459 matching lines...) Expand 10 before | Expand all | Expand 10 after
4470 static void SetEntropySource(EntropySource source); 4470 static void SetEntropySource(EntropySource source);
4471 4471
4472 /** 4472 /**
4473 * Allows the host application to provide a callback that allows v8 to 4473 * Allows the host application to provide a callback that allows v8 to
4474 * cooperate with a profiler that rewrites return addresses on stack. 4474 * cooperate with a profiler that rewrites return addresses on stack.
4475 */ 4475 */
4476 static void SetReturnAddressLocationResolver( 4476 static void SetReturnAddressLocationResolver(
4477 ReturnAddressLocationResolver return_address_resolver); 4477 ReturnAddressLocationResolver return_address_resolver);
4478 4478
4479 /** 4479 /**
4480 * Deprecated, use the variant with the Isolate parameter below instead.
4481 */
4482 V8_DEPRECATED(static bool SetFunctionEntryHook(FunctionEntryHook entry_hook));
4483
4484 /**
4485 * Allows the host application to provide the address of a function that's 4480 * Allows the host application to provide the address of a function that's
4486 * invoked on entry to every V8-generated function. 4481 * invoked on entry to every V8-generated function.
4487 * Note that \p entry_hook is invoked at the very start of each 4482 * Note that \p entry_hook is invoked at the very start of each
4488 * generated function. 4483 * generated function.
4489 * 4484 *
4490 * \param isolate the isolate to operate on.
4491 * \param entry_hook a function that will be invoked on entry to every 4485 * \param entry_hook a function that will be invoked on entry to every
4492 * V8-generated function. 4486 * V8-generated function.
4493 * \returns true on success on supported platforms, false on failure. 4487 * \returns true on success on supported platforms, false on failure.
4494 * \note Setting an entry hook can only be done very early in an isolates 4488 * \note Setting a new entry hook function when one is already active will
4495 * lifetime, and once set, the entry hook cannot be revoked. 4489 * fail.
4496 */ 4490 */
4497 static bool SetFunctionEntryHook(Isolate* isolate, 4491 static bool SetFunctionEntryHook(FunctionEntryHook entry_hook);
4498 FunctionEntryHook entry_hook);
4499 4492
4500 /** 4493 /**
4501 * Allows the host application to provide the address of a function that is 4494 * Allows the host application to provide the address of a function that is
4502 * notified each time code is added, moved or removed. 4495 * notified each time code is added, moved or removed.
4503 * 4496 *
4504 * \param options options for the JIT code event handler. 4497 * \param options options for the JIT code event handler.
4505 * \param event_handler the JIT code event handler, which will be invoked 4498 * \param event_handler the JIT code event handler, which will be invoked
4506 * each time code is added, moved or removed. 4499 * each time code is added, moved or removed.
4507 * \note \p event_handler won't get notified of existent code. 4500 * \note \p event_handler won't get notified of existent code.
4508 * \note since code removal notifications are not currently issued, the 4501 * \note since code removal notifications are not currently issued, the
(...skipping 1951 matching lines...) Expand 10 before | Expand all | Expand 10 after
6460 6453
6461 6454
6462 } // namespace v8 6455 } // namespace v8
6463 6456
6464 6457
6465 #undef V8EXPORT 6458 #undef V8EXPORT
6466 #undef TYPE_CHECK 6459 #undef TYPE_CHECK
6467 6460
6468 6461
6469 #endif // V8_H_ 6462 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698