Comment #3 on issue 615 by [email protected]: "instanceof" operator broken in V8 v2.0.6.4
http://code.google.com/p/v8/issues/detail?id=615

well, that's disturbing. So what could possibly cause something like this one little quirk? I don't have any trouble running any other JavaScript (so far as I know).

~]uname -a
Linux xxx.xxx 2.6.21-7.fc7xen #1 SMP Tue Feb 12 12:35:59 EST 2008 x86_64 GNU/Linux

~]./shell -e "print(version());"
2.0.6.4

~]./shell -e "var arr=[];print(arr instanceof Array);"
false

~]./shell -e "var arr=[]; print(arr.constructor);"
function Array() { [native code] }

--------------

FWIW, I compiled V8 using this command:

~]scons arch=x64 library=shared
libv8.so<<<

Then, to compile shell, I did:

~]gcc -c shell.cc -I./include
shell.o<<<
~]gcc -o shell ~/libv8.so shell.o
shell<<<



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to