Closed Bug 759476 Opened 12 years ago Closed 12 years ago

IonMonkey: (ARM) Assertion failure: unsupported relocation, at ion/arm/Assembler-arm.cpp:572

Categories

(Core :: JavaScript Engine, defect)

Other Branch
ARM
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: assertion, testcase)

The following testcase asserts on ionmonkey-arm (private branch) revision  (run with --ion -n -m --ion-eager):


function TestCase(n, d, e, a) {
  this.name = n;
  this.description = d;
  this.actual = a;
  this.passed = getTestCaseResult(e, a);
  var lines = msg.split ("\n");
  for (var i=0; i<lines.length; i++)
    print (STATUS + lines[i]);
}
function toPrinted(value) {
  if (typeof value == "xml") {
    value = value.toXMLString();
  } 
  value = String(value);
  value = value.replace(/\\n/g, 'NL')
               .replace(/\n/g, 'NL')
               .replace(/\\r/g, 'CR')
               .replace(/[^\x20-\x7E]+/g, escapeString);
}
function escapeString (str) {}
function reportCompare (expected, actual, description) {
  var output = "";
    output += "Expected value '" + toPrinted(expected) +
      "', Actual value '" + toPrinted(actual) + "' ";
  var testcase = new TestCase("unknown-test-name", description, expected, actual);
  if (typeof document != "object" ||      !document.location.href.match(/jsreftest.html/)) {  }
}
function optionsClear() {
  var optionNames = options().split(',');
  for (var i = 0; i < optionNames.length; i++)   {
    var optionName = optionNames[i];
    if (optionName &&        optionName != "ion")    {    }
  }
}
  optionsClear();
var summary = 'GC hazard due to missing SAVE_SP_AND_PC';
test();
function test() {
  function f(a, b, c) {
    return (-a) * ((-b) * (-c));
  }
  if (typeof gczeal == 'function') {
    expect = f(1.5, 1.25, 1.125);
    gczeal(2);
    actual = f(1.5, (1), 1.125);
  }
  reportCompare(expect, actual, summary);
}
Summary: IonMonkey: Assertion failure: unsupported relocation, at ion/arm/Assembler-arm.cpp:572 → IonMonkey: (ARM) Assertion failure: unsupported relocation, at ion/arm/Assembler-arm.cpp:572
Looks like one of the other patches I have in my review queue fixed this issue.  I'll mark it worksforme when all of those patches land (Or I can test this with each patch in my queue applied to see which one fixes this issue)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Group: core-security
You need to log in before you can comment on or make changes to this bug.