Closed Bug 728062 Opened 13 years ago Closed 24 days 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

()

RESOLVED INCOMPLETE

People

(Reporter: nbp, Unassigned)

References

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
Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.