forked from TritonDataCenter/mdb_v8
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make changes according to dap's code review: - Do not warn if JSTypedArray type is missing. - Clarify/added comments. - Formatting/indentation nits. - Print <Typed array of length N> when ::jsprinting a typed array. - get_map_constructor fails if V8_OFF_MAP_CONSTRUCTOR is missing. - Update tests accordingly. Also, use a separate V8_OFF_MAP_CONSTRUCTOR_OR_BACKPOINTER constant to store the constructor_or_backpointer offset, and set V8_OFF_MAP_CONSTRUCTOR with that value if V8_OFF_MAP_CONSTRUCTOR is -1. Before that change, the same variable was used for both offsets, and for node versions < 4.x, it would result in V8_OFF_MAP_CONSTRUCTOR always being -1, which would break, among other things, get_map_constructor and thus ::findjsobjects.
- Loading branch information
Julien Gilli
committed
Sep 22, 2015
1 parent
af31011
commit 249d5c5
Showing
2 changed files
with
33 additions
and
46 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