X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..HEAD:/replay/JSInputs.json diff --git a/replay/JSInputs.json b/replay/JSInputs.json index 7394d94..fa5c004 100644 --- a/replay/JSInputs.json +++ b/replay/JSInputs.json @@ -1,27 +1,49 @@ { "types": { "Global": [ + { "name": "bool", "mode": "SCALAR" }, { "name": "double", "mode": "SCALAR" }, - { "name": "uint64_t", "mode": "SCALAR" } + { "name": "uint32_t", "mode": "SCALAR", "description": "Unsigned 32-bit integer." }, + { "name": "uint64_t", "mode": "SCALAR", "description": "Unsigned 64-bit integer." }, + { "name": "int32_t", "mode": "SCALAR", "description": "Signed 32-bit integer." }, + { "name": "int64_t", "mode": "SCALAR", "description": "Signed 64-bit integer." } + ], + + "WTF": [ + { + "name": "String", "mode": "HEAVY_SCALAR", + "header": "wtf/text/WTFString.h" + } + ], + + "JavaScriptCore": [ + { + "name": "InputQueue", "mode": "SCALAR", "storage": "uint8_t", + "flags": ["ENUM_CLASS"], + "values": ["EventLoopInput", "LoaderMemoizedData", "ScriptMemoizedData", "Count"], + "header": "replay/NondeterministicInput.h" + } ] }, - "inputs": [ - { - "name": "GetCurrentTime", - "description": "Supplies the system time to Date.now() and new Date().", - "queue": "SCRIPT_MEMOIZED", - "members": [ - { "name": "currentTime", "type": "double" } - ] - }, - { - "name": "SetRandomSeed", - "description": "Sets the PRNG seed used by Math.random().", - "queue": "SCRIPT_MEMOIZED", - "members": [ - { "name": "randomSeed", "type": "uint64_t" } - ] - } - ] + "inputs": { + "JavaScriptCore": [ + { + "name": "GetCurrentTime", + "description": "Supplies the system time to Date.now() and new Date().", + "queue": "SCRIPT_MEMOIZED", + "members": [ + { "name": "currentTime", "type": "double" } + ] + }, + { + "name": "SetRandomSeed", + "description": "Sets the PRNG seed used by Math.random().", + "queue": "SCRIPT_MEMOIZED", + "members": [ + { "name": "randomSeed", "type": "uint64_t" } + ] + } + ] + } }