• yangguo@chromium.org's avatar
    Fix bogus regexp test. · 95c5e687
    yangguo@chromium.org authored
    The reason this test fails on ARM hardware but not on Intel hardware
    (including the ARM simulator) is this:
    '\xa0' is interpreted as a negative signed byte number. Casting it to
    uc16 sign-extends it. The resulting string does not fit into a one-byte
    string, thus a two-byte string is allocated.
    For some reason the code compiled for ARM does not sign-extend, and 0xa0
    fits into a one-byte string. Thus a one-byte string is allocated. Trying
    to cast it to two-byte causes assertion failure.
    
    BUG=
    
    Review URL: https://chromiumcodereview.appspot.com/12319111
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13729 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    95c5e687
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
SConstruct Loading commit data...