Disable memelim

It's causing issues with the vector translator.
Esse commit está contido em:
jdelong
2013-04-17 11:33:20 -07:00
commit de Sara Golemon
commit 89e34e12e6
3 arquivos alterados com 20 adições e 1 exclusões
+4 -1
Ver Arquivo
@@ -818,7 +818,10 @@ void MemMap::sinkStores(StoreList& stores) {
}
void optimizeMemoryAccesses(Trace* trace, IRFactory* factory) {
MemMap(factory).optimizeMemoryAccesses(trace);
if (false) { // TODO(#2302684): memelim can break vector
// translations right now
MemMap(factory).optimizeMemoryAccesses(trace);
}
}
} } }
+15
Ver Arquivo
@@ -0,0 +1,15 @@
<?php
function val() { return 0; }
function foo($k) {
$array = array(0, 1);
$idx =& val();
for ($ik = 0; $ik < 10; ++$ik) {
}
$idx++;
echo $array[$idx];
echo "\n";
}
foo(12);
@@ -0,0 +1 @@
1