Closed
Bug 649593
Opened 14 years ago
Closed 14 years ago
TI+JM: v8 benchmark harness correctness bug
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(2 files)
|
914 bytes,
application/x-javascript
|
Details | |
|
1.75 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
Attached testcase demonstrates the problem. It fails with -m -n -a:
test.js:20: Error: Assertion failed: got 0, expected 6326624
| Assignee | ||
Comment 1•14 years ago
|
||
Reduced further:
--
function RunSingleBenchmark(data) {
if (data == null)
return { runs: 0, elapsed: 0 };
data.runs += 10;
return data;
}
var data;
data = RunSingleBenchmark(data);
data = RunSingleBenchmark(data);
assertEq(data.runs, 10);
--
Comment 2•14 years ago
|
||
Cannot be reproduced on 64 bit, seems to be a 32 bit only problem. Jan suggested it might be related to register allocation.
Hardware: All → x86
| Assignee | ||
Comment 3•14 years ago
|
||
Use stubcc.masm to load atom pointer for OOL SetName call.
Assignee: general → jandemooij
Status: NEW → ASSIGNED
Attachment #525646 -
Flags: review?(bhackett1024)
Comment 4•14 years ago
|
||
Comment on attachment 525646 [details] [diff] [review]
Patch
Oops. At least I remembered to store the atom at all!
Attachment #525646 -
Flags: review?(bhackett1024) → review+
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•