Implement JSOP_EQ and JSOP_NE over strings, plus JSOP_STRING.

This commit is contained in:
2008-07-30 17:28:59 -07:00
parent 9d54abe04b
commit 3a2342eaff
4 changed files with 59 additions and 5 deletions

View File

@@ -232,6 +232,12 @@ builtin_Math_random(JSRuntime* rt)
return z;
}
bool FASTCALL
builtin_EqualStrings(JSString* str1, JSString* str2)
{
return js_EqualStrings(str1, str2);
}
#define LO ARGSIZE_LO
#define F ARGSIZE_F
#define Q ARGSIZE_Q