Description[promises] Refactor debug code
-- Removes remaning debug from promise.js and moves it to c++
-- Changes debug_id to be a smi in PromiseReactionJobInfo and
PromiseResolveThenableJobInfo.
-- Changes debug_name to be a smi in PromiseReactionJobInfo and
PromiseResolveThenableJobInfo.
-- Adds PromiseDebugActionName and PromiseDebugActionType enums
-- Adds PromiseDebugActionNameToString and
PromiseDebugActionTypeToString helper methods
-- Changes variable `status` to be int in runtime functions.
-- Changes debug_id to start from 1, not 0 for easier bookkeeping.
BUG=v8:5343
Review-Url: https://codereview.chromium.org/2606093002
Cr-Commit-Position: refs/heads/master@{#42052}
Committed: https://chromium.googlesource.com/v8/v8/+/a2c15ba376840e5849d77907d1213c8794c48392
Patch Set 1 #Patch Set 2 : make debug_name a smi #
Total comments: 14
Patch Set 3 : fix csa #Patch Set 4 : use constant for default #Patch Set 5 : some fixes #Patch Set 6 : more refactoring #Patch Set 7 : fmt #
Total comments: 1
Patch Set 8 : Rename to camelcase #Patch Set 9 : fix stuff #
Created: 3 years, 11 months ago
Messages
Total messages: 45 (36 generated)
|