[JSC] Drop Options::useBigInt
https://bugs.webkit.org/show_bug.cgi?id=216743
Reviewed by Darin Adler.
JSTests:
- bigIntTests.yaml: Removed.
- stress/big-int-add-wrapped-value.js:
- stress/big-int-addition-basic.js:
- stress/big-int-addition-jit.js:
- stress/big-int-addition-memory-stress.js:
- stress/big-int-addition-string-coercion.js:
- stress/big-int-addition-to-primitive-precedence.js:
- stress/big-int-addition-to-primitive.js:
- stress/big-int-addition-type-error.js:
- stress/big-int-arithmetic-return-big-int.js:
- stress/big-int-as-key.js:
- stress/big-int-as-property-name.js:
- stress/big-int-bit-not-general.js:
- stress/big-int-bitwise-and-general.js:
- stress/big-int-bitwise-and-jit.js:
- stress/big-int-bitwise-and-memory-stress.js:
- stress/big-int-bitwise-and-to-primitive-precedence.js:
- stress/big-int-bitwise-and-type-error.js:
- stress/big-int-bitwise-and-wrapped-value.js:
- stress/big-int-bitwise-not-jit.js:
- stress/big-int-bitwise-not-wrapped-value.js:
- stress/big-int-bitwise-or-general.js:
- stress/big-int-bitwise-or-jit-untyped.js:
- stress/big-int-bitwise-or-jit.js:
- stress/big-int-bitwise-or-memory-stress.js:
- stress/big-int-bitwise-or-to-primitive-precedence.js:
- stress/big-int-bitwise-or-type-error.js:
- stress/big-int-bitwise-or-wrapped-value.js:
- stress/big-int-bitwise-xor-general.js:
- stress/big-int-bitwise-xor-jit.js:
- stress/big-int-bitwise-xor-memory-stress.js:
- stress/big-int-bitwise-xor-to-primitive-precedence.js:
- stress/big-int-bitwise-xor-type-error.js:
- stress/big-int-bitwise-xor-untyped.js:
- stress/big-int-bitwise-xor-wrapped-value.js:
- stress/big-int-boolean-proven-type.js:
- stress/big-int-branch-usage.js:
- stress/big-int-constructor-gc.js:
- stress/big-int-constructor-oom.js:
- stress/big-int-constructor-properties.js:
- stress/big-int-constructor-prototype-prop-descriptor.js:
- stress/big-int-constructor-prototype.js:
- stress/big-int-constructor.js:
- stress/big-int-div-jit-osr.js:
- stress/big-int-div-jit-untyped.js:
- stress/big-int-div-jit.js:
- stress/big-int-div-memory-stress.js:
- stress/big-int-div-to-primitive.js:
- stress/big-int-div-type-error.js:
- stress/big-int-div-wrapped-value.js:
- stress/big-int-division.js:
- stress/big-int-equals-basic.js:
- stress/big-int-equals-to-primitive-precedence.js:
- stress/big-int-equals-wrapped-value.js:
- stress/big-int-exp-basic.js:
- stress/big-int-exp-jit-osr.js:
- stress/big-int-exp-jit-untyped.js:
- stress/big-int-exp-jit.js:
- stress/big-int-exp-negative-exponent.js:
- stress/big-int-exp-to-primitive.js:
- stress/big-int-exp-type-error.js:
- stress/big-int-exp-wrapped-value.js:
- stress/big-int-function-apply.js:
- stress/big-int-greater-than-general.js:
- stress/big-int-greater-than-jit.js:
- stress/big-int-greater-than-or-equal-jit.js:
- stress/big-int-greater-than-or-equal-order-of-evaluation.js:
- stress/big-int-greater-than-or-equal-wrapped-values.js:
- stress/big-int-greater-than-or-equal.js:
- stress/big-int-greater-than-order-of-evaluation.js:
- stress/big-int-greater-than-wrapped-values.js:
- stress/big-int-json-stringify-to-json.js:
- stress/big-int-json-stringify.js:
- stress/big-int-left-shift-general.js:
- stress/big-int-left-shift-range-error.js:
- stress/big-int-left-shift-type-error.js:
- stress/big-int-left-shift-untyped.js:
- stress/big-int-left-shift-wrapped-value.js:
- stress/big-int-length.js:
- stress/big-int-less-than-general.js:
- stress/big-int-less-than-jit.js:
- stress/big-int-less-than-or-equal-general.js:
- stress/big-int-less-than-or-equal-jit.js:
- stress/big-int-less-than-or-equal-order-of-evaluation.js:
- stress/big-int-less-than-or-equal-wrapped-values.js:
- stress/big-int-less-than-order-of-evaluation.js:
- stress/big-int-less-than-wrapped-values.js:
- stress/big-int-literal-inside-literal-object.js:
- stress/big-int-literal-line-terminator.js:
- stress/big-int-literals.js:
- stress/big-int-logical-and.js:
- stress/big-int-logical-not.js:
- stress/big-int-logical-or.js:
- stress/big-int-mod-jit.js:
- stress/big-int-mod-memory-stress.js:
- stress/big-int-mod-osr.js:
- stress/big-int-mod-to-primitive-precedence.js:
- stress/big-int-mod-to-primitive.js:
- stress/big-int-mod-type-error.js:
- stress/big-int-mod-wrapped-value.js:
- stress/big-int-mod.js:
- stress/big-int-mul-jit-osr.js:
- stress/big-int-mul-jit-untyped.js:
- stress/big-int-mul-jit.js:
- stress/big-int-mul-to-primitive-precedence.js:
- stress/big-int-mul-to-primitive.js:
- stress/big-int-mul-type-error.js:
- stress/big-int-mul-wrapped-value.js:
- stress/big-int-multiplication.js:
- stress/big-int-multiply-memory-stress.js:
- stress/big-int-negate-basic.js:
- stress/big-int-no-conversion-to-number.js:
- stress/big-int-operations-error.js:
- stress/big-int-out-of-memory-tests.js:
- stress/big-int-prop-descriptor.js:
- stress/big-int-proto-constructor.js:
- stress/big-int-proto-name.js:
- stress/big-int-prototype-properties.js:
- stress/big-int-prototype-proto.js:
- stress/big-int-prototype-symbol-to-string-tag.js:
- stress/big-int-prototype-to-string-apply.js:
- stress/big-int-prototype-to-string-cast-overflow.js:
- stress/big-int-prototype-to-string-exception.js:
- stress/big-int-prototype-to-string-wrong-values.js:
- stress/big-int-prototype-value-of.js:
- stress/big-int-right-shift-general.js:
- stress/big-int-right-shift-jit-osr.js:
- stress/big-int-right-shift-jit-untyped.js:
- stress/big-int-right-shift-jit.js:
- stress/big-int-right-shift-type-error.js:
- stress/big-int-right-shift-wrapped-value.js:
- stress/big-int-spec-to-primitive.js:
- stress/big-int-spec-to-this.js:
- stress/big-int-strict-equals-jit.js:
- stress/big-int-strict-spec-to-this.js:
- stress/big-int-sub-wrapped-value.js:
- stress/big-int-subtraction-basic.js:
- stress/big-int-subtraction-jit.js:
- stress/big-int-subtraction-type-error.js:
- stress/big-int-to-object.js:
- stress/big-int-to-string.js:
- stress/big-int-type-of-proven-type-non-constant-including-symbol.js:
- stress/big-int-type-of-proven-type-non-constant.js:
- stress/big-int-type-of-proven-type.js:
- stress/big-int-type-of.js:
- stress/big-int-unary-plus.js:
- stress/big-int-value-op-update-gc-rules.js:
- stress/big-int-white-space-trailing-leading.js:
- stress/bigint-toLocaleString.js:
- stress/bitwise-not-fixup-rules.js:
- stress/delete-property-inline-cache.js:
- stress/inc-osr-exit-from-big-int.js:
- stress/inc-osr-exit-to-big-int.js:
- stress/left-shift-to-primitive-precedence.js:
- stress/numeric-literal-separators.js:
- stress/object-create-non-object-properties-parameter.js:
- stress/proxy-call-apply-handler-to-this.js:
- stress/right-shift-to-primitive-precedence.js:
- stress/value-add-big-int-and-string.js:
- stress/value-add-big-int-prediction-propagation.js:
- stress/value-add-big-int-untyped.js:
- stress/value-bit-and-ai-rule.js:
- stress/value-bit-lshift-ai-rule.js:
- stress/value-bit-not-ai-rule.js:
- stress/value-bit-or-ai-rule.js:
- stress/value-bit-xor-ai-rule.js:
- stress/value-div-fixup-int32-big-int.js:
- stress/value-mul-fixup-int32-big-int.js:
- stress/value-sub-big-int-prediction-propagation.js:
- stress/value-sub-big-int-untyped.js:
- test262/config.yaml:
Source/JavaScriptCore:
Now BigInt is shipped. Let's just remove Options::useBigInt.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitEqualityOpImpl):
(JSC::Lexer<T>::parseHex):
(JSC::Lexer<T>::parseBinary):
(JSC::Lexer<T>::parseOctal):
(JSC::Lexer<T>::parseDecimal):
- runtime/JSGlobalObject.h:
- runtime/OptionsList.h:
Tools:
- Scripts/run-jsc-benchmarks:
- Scripts/run-jsc-stress-tests: