Commit 51a5b233 authored by Mythri's avatar Mythri Committed by Commit Bot

[Interpreter] Fix compare bytecodehandler benchmarks for equals.

Bug:v8:4280

Change-Id: I83dfd26b47d554406d3ede633bbefc92db6a4faf
Reviewed-on: https://chromium-review.googlesource.com/487964Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44924}
parent 4e78b5a7
......@@ -109,35 +109,35 @@ function MixedStrictEquals() {
}
function SmiEqualsFalse() {
strictEquals(10, 20);
equals(10, 20);
}
function SmiEqualsTrue() {
strictEquals(10, 10);
equals(10, 10);
}
function NumberEqualsFalse() {
strictEquals(0.3333, 0.3334);
equals(0.3333, 0.3334);
}
function NumberEqualsTrue() {
strictEquals(0.3333, 0.3333);
equals(0.3333, 0.3333);
}
function StringEqualsFalse() {
strictEquals("abc", "def");
equals("abc", "def");
}
function StringEqualsTrue() {
strictEquals("abc", "abc");
equals("abc", "abc");
}
function MixedEquals() {
strictEquals(10, "10");
equals(10, "10");
}
function ObjectEqualsNull(null_object) {
strictEquals(null_object, null);
equals(null_object, null);
}
function SmiRelationalCompare() {
......
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