| OLD | NEW |
| 1 # Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 # Copyright 2006-2009 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 macro IS_SCRIPT(arg) = (%_ClassOf(arg) === 'Script'); | 84 macro IS_SCRIPT(arg) = (%_ClassOf(arg) === 'Script'); |
| 85 macro IS_SET(arg) = (%_ClassOf(arg) === 'Set'); | 85 macro IS_SET(arg) = (%_ClassOf(arg) === 'Set'); |
| 86 macro IS_SET_ITERATOR(arg) = (%_ClassOf(arg) === 'Set Iterator'); | 86 macro IS_SET_ITERATOR(arg) = (%_ClassOf(arg) === 'Set Iterator'); |
| 87 macro IS_SHAREDARRAYBUFFER(arg) = (%_ClassOf(arg) === 'SharedArrayBuffer'); | 87 macro IS_SHAREDARRAYBUFFER(arg) = (%_ClassOf(arg) === 'SharedArrayBuffer'); |
| 88 macro IS_SIMD_VALUE(arg) = (%IsSimdValue(arg)); | 88 macro IS_SIMD_VALUE(arg) = (%IsSimdValue(arg)); |
| 89 macro IS_STRING(arg) = (typeof(arg) === 'string'); | 89 macro IS_STRING(arg) = (typeof(arg) === 'string'); |
| 90 macro IS_STRING_WRAPPER(arg) = (%_ClassOf(arg) === 'String'); | 90 macro IS_STRING_WRAPPER(arg) = (%_ClassOf(arg) === 'String'); |
| 91 macro IS_STRONG(arg) = (%IsStrong(arg)); | 91 macro IS_STRONG(arg) = (%IsStrong(arg)); |
| 92 macro IS_SYMBOL(arg) = (typeof(arg) === 'symbol'); | 92 macro IS_SYMBOL(arg) = (typeof(arg) === 'symbol'); |
| 93 macro IS_SYMBOL_WRAPPER(arg) = (%_ClassOf(arg) === 'Symbol'); | 93 macro IS_SYMBOL_WRAPPER(arg) = (%_ClassOf(arg) === 'Symbol'); |
| 94 macro IS_TYPEDARRAY(arg) = (%_IsTypedArray(arg)); |
| 94 macro IS_UNDEFINED(arg) = (arg === (void 0)); | 95 macro IS_UNDEFINED(arg) = (arg === (void 0)); |
| 95 macro IS_WEAKMAP(arg) = (%_ClassOf(arg) === 'WeakMap'); | 96 macro IS_WEAKMAP(arg) = (%_ClassOf(arg) === 'WeakMap'); |
| 96 macro IS_WEAKSET(arg) = (%_ClassOf(arg) === 'WeakSet'); | 97 macro IS_WEAKSET(arg) = (%_ClassOf(arg) === 'WeakSet'); |
| 97 | 98 |
| 98 # Macro for ES queries of the type: "Type(O) is Object." | 99 # Macro for ES queries of the type: "Type(O) is Object." |
| 99 macro IS_RECEIVER(arg) = (%_IsJSReceiver(arg)); | 100 macro IS_RECEIVER(arg) = (%_IsJSReceiver(arg)); |
| 100 | 101 |
| 101 # Macro for ES queries of the type: "IsCallable(O)" | 102 # Macro for ES queries of the type: "IsCallable(O)" |
| 102 macro IS_CALLABLE(arg) = (typeof(arg) === 'function'); | 103 macro IS_CALLABLE(arg) = (typeof(arg) === 'function'); |
| 103 | 104 |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 define kStrongMode = 10; | 259 define kStrongMode = 10; |
| 259 define kRegExpPrototypeStickyGetter = 11; | 260 define kRegExpPrototypeStickyGetter = 11; |
| 260 define kRegExpPrototypeToString = 12; | 261 define kRegExpPrototypeToString = 12; |
| 261 define kRegExpPrototypeUnicodeGetter = 13; | 262 define kRegExpPrototypeUnicodeGetter = 13; |
| 262 define kIntlV8Parse = 14; | 263 define kIntlV8Parse = 14; |
| 263 define kIntlPattern = 15; | 264 define kIntlPattern = 15; |
| 264 define kIntlResolved = 16; | 265 define kIntlResolved = 16; |
| 265 define kPromiseChain = 17; | 266 define kPromiseChain = 17; |
| 266 define kPromiseAccept = 18; | 267 define kPromiseAccept = 18; |
| 267 define kPromiseDefer = 19; | 268 define kPromiseDefer = 19; |
| OLD | NEW |