Open Bug 728062 Opened 13 years ago Updated 2 years ago

IonMonkey: Bailouts: Add support for String in ValueToDouble generated code. (jit-test/tests/ion/testPos.js)

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: nbp, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [ion:t])

CodeGenerator::visitValueToDouble does not support String-to-Double.  An Out Of Line path (OOL) should be added to the function to make a callVM to js_strtod or to a wrapper of js_strtod which handles getChars & length calls on the String. (see num_parseFloat)

To check if the fix is correct, running the debug shell with "IONFLAGS=bailouts ./js --ion -n jit-test/tests/ion/testPos.js" should remove the current error output.
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.