This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ttd: adding ttd tracking logic to aliased_buffer
Whenever state modifications happen outside of JSRT API calls, we need to to track them to for TTD to correctly track state. This change updates aliased_buffer's SetValue() method to do the correct TTD tracking. PR-URL: #397 Reviewed-By: Mark Marron <marron@microsoft.com>
- Loading branch information
Showing
4 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef SRC_CHAKRA_TTD_H_ | ||
#define SRC_CHAKRA_TTD_H_ | ||
|
||
#if defined(NODE_ENGINE_CHAKRACORE) | ||
#define ENABLE_TTD_NODE 1 | ||
#else | ||
#define ENABLE_TTD_NODE 0 | ||
#endif | ||
|
||
#if defined(ENABLE_TTD_NODE) && ENABLE_TTD_NODE | ||
extern bool s_doTTRecord; | ||
extern bool s_doTTReplay; | ||
extern bool s_doTTDebug; | ||
#endif | ||
|
||
#endif // SRC_CHAKRA_TTD_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters