Fix broken test that assumes that no GC can clear the regexp
cache (GC can happen at any time due to Crankshaft). Review URL: http://codereview.chromium.org/9113012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10343 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
e79274abe6
commit
9de3992837
@ -14238,7 +14238,7 @@ THREADED_TEST(RoundRobinGetFromCache) {
|
||||
" for (var i = 0; i < 16; i++) values[i] = %_GetFromCache(0, keys[i]);"
|
||||
" for (var i = 0; i < 16; i++) {"
|
||||
" var v = %_GetFromCache(0, keys[i]);"
|
||||
" if (v !== values[i])"
|
||||
" if (v.toString() !== values[i].toString())"
|
||||
" return 'Wrong value for ' + "
|
||||
" keys[i] + ': ' + v + ' vs. ' + values[i];"
|
||||
" };"
|
||||
|
Loading…
Reference in New Issue
Block a user