Commit 7233a930 authored by whesse@chromium.org's avatar whesse@chromium.org

X64 Crankshaft: Add test that fails on x64 Crankshaft build to list of skipped...

X64 Crankshaft: Add test that fails on x64 Crankshaft build to list of skipped mjsunit tests.  Fix comments and remove unused function from date.js.

BUG=1153
TEST=mjsunit/date-parse
Review URL: http://codereview.chromium.org/6516011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6775 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 38c8b823
......@@ -81,12 +81,7 @@ function TimeFromYear(year) {
function InLeapYear(time) {
return DaysInYear(YearFromTime(time)) == 366 ? 1 : 0;
}
function DayWithinYear(time) {
return DAY(time) - DayFromYear(YearFromTime(time));
return DaysInYear(YearFromTime(time)) - 365; // Returns 1 or 0.
}
......
......@@ -1764,11 +1764,11 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) {
Register object = ToRegister(instr->InputAt(0));
Register temp = ToRegister(instr->TempAt(0));
// A Smi is not instance of anything.
// A Smi is not an instance of anything.
__ test(object, Immediate(kSmiTagMask));
__ j(zero, &false_result, not_taken);
// This is the inlined call site instanceof cache. The two occourences of the
// This is the inlined call site instanceof cache. The two occurences of the
// hole value will be patched to the last map/result pair generated by the
// instanceof stub.
NearLabel cache_miss;
......@@ -1780,10 +1780,10 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) {
__ mov(eax, Factory::the_hole_value()); // Patched to either true or false.
__ jmp(&done);
// The inlined call site cache did not match. Check null and string before
// calling the deferred code.
// The inlined call site cache did not match. Check for null and string
// before calling the deferred code.
__ bind(&cache_miss);
// Null is not instance of anything.
// Null is not an instance of anything.
__ cmp(object, Factory::null_value());
__ j(equal, &false_result);
......
......@@ -125,6 +125,9 @@ compiler/simple-osr: SKIP
# BUG (1094)
regress/regress-deopt-gc: SKIP
# BUG (1153)
date-parse: SKIP
##############################################################################
[ $arch == mips ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment