Index: test/mjsunit/regress/regress-280531.js |
diff --git a/test/cctest/test-cpu-ia32.cc b/test/mjsunit/regress/regress-280531.js |
similarity index 86% |
copy from test/cctest/test-cpu-ia32.cc |
copy to test/mjsunit/regress/regress-280531.js |
index 245450bf92b595e417a53edff09a5849d74dd135..6799574f691f9c52a266e38dfcf9b96c9d3a6ff4 100644 |
--- a/test/cctest/test-cpu-ia32.cc |
+++ b/test/mjsunit/regress/regress-280531.js |
@@ -25,16 +25,8 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#include "v8.h" |
- |
-#include "cctest.h" |
-#include "cpu.h" |
- |
-using namespace v8::internal; |
- |
- |
-TEST(RequiredFeaturesX64) { |
- // Test for the features required by every x86 CPU in compat/legacy mode. |
- CPU cpu; |
- CHECK(cpu.has_sahf()); |
-} |
+var contextA = Realm.create(); |
+var date1 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')"); |
+new Date('Thu, 29 Aug 2013 00:00:01 UTC'); |
+var date2 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')"); |
+assertEquals(date1, date2); |