Created
January 15, 2017 11:29
-
-
Save ErikCorryGoogle/d71075b6c7297f1021df94faa3ccc4ef to your computer and use it in GitHub Desktop.
Spidermonkey tags
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
/* | |
* Type tags stored in the low bits of a jsval. | |
*/ | |
#define JSVAL_OBJECT 0x0 /* untagged reference to object */ | |
#define JSVAL_INT 0x1 /* tagged 31-bit integer value */ | |
#define JSVAL_DOUBLE 0x2 /* tagged reference to double */ | |
#define JSVAL_STRING 0x4 /* tagged reference to string */ | |
#define JSVAL_BOOLEAN 0x6 /* tagged boolean value */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment