diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2024-12-11 15:54:41 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-12-12 13:35:57 +0100 |
| commit | 6786c0e5480fe8c411f4747934e169244bf3bbc8 (patch) | |
| tree | 1d9af5935f7bbe833740cff6d877fee2a823f4a0 /src/qml/compiler/qv4codegen.cpp | |
| parent | 901729505ef6be8b2d4d00c531fcb595144741fa (diff) | |
QtQml: Sort the global, "illegal" names
When adding to them, we want to be able to see what we're doing.
Change-Id: I563999d8371ff7bd60ca5ad8e7663fd3fe2f4fca
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
| -rw-r--r-- | src/qml/compiler/qv4codegen.cpp | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp index 9027c9fabe..aaaa4aebf6 100644 --- a/src/qml/compiler/qv4codegen.cpp +++ b/src/qml/compiler/qv4codegen.cpp @@ -109,58 +109,58 @@ Codegen::Codegen(QV4::Compiler::JSUnitGenerator *jsUnitGenerator, bool strict, } const char *Codegen::s_globalNames[] = { - "isNaN", - "parseFloat", - "String", + "Array", + "ArrayBuffer", + "Atomics", + "Boolean", + "DataView", + "Date", + "Error", "EvalError", - "URIError", + "Float32Array", + "Float64Array", + "Function", + "Infinity", + "Int16Array", + "Int32Array", + "Int8Array", + "JSON", + "Map", "Math", - "encodeURIComponent", + "NaN", + "Number", + "Object", + "Promise", + "Proxy", "RangeError", - "eval", - "isFinite", "ReferenceError", - "Infinity", - "Function", + "Reflect", "RegExp", - "Number", - "parseInt", - "Object", - "decodeURI", - "TypeError", - "Boolean", - "encodeURI", - "NaN", - "Error", - "decodeURIComponent", - "Date", - "Array", + "Set", + "SharedArrayBuffer", + "String", "Symbol", - "escape", - "unescape", "SyntaxError", - "undefined", - "JSON", - "ArrayBuffer", - "SharedArrayBuffer", - "DataView", - "Int8Array", - "Uint8Array", - "Uint8ClampedArray", - "Int16Array", + "TypeError", + "URIError", "Uint16Array", - "Int32Array", "Uint32Array", - "Float32Array", - "Float64Array", - "WeakSet", - "Set", + "Uint8Array", + "Uint8ClampedArray", "WeakMap", - "Map", - "Reflect", - "Proxy", - "Atomics", - "Promise", + "WeakSet", + "decodeURI", + "decodeURIComponent", + "encodeURI", + "encodeURIComponent", + "escape", + "eval", + "isFinite", + "isNaN", + "parseFloat", + "parseInt", + "undefined", + "unescape", nullptr }; |
