| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 function test_load_set_smi_4(b) { | 61 function test_load_set_smi_4(b) { |
| 62 return b[0] = b[0] = 1; | 62 return b[0] = b[0] = 1; |
| 63 } | 63 } |
| 64 | 64 |
| 65 test_load_set_smi_4(b); | 65 test_load_set_smi_4(b); |
| 66 %OptimizeFunctionOnNextCall(test_load_set_smi_4); | 66 %OptimizeFunctionOnNextCall(test_load_set_smi_4); |
| 67 test_load_set_smi_4(b); | 67 test_load_set_smi_4(b); |
| 68 test_load_set_smi_4(0); | 68 test_load_set_smi_4(0); |
| 69 %DeoptimizeFunction(test_load_set_smi_4); | 69 %DeoptimizeFunction(test_load_set_smi_4); |
| 70 gc(); // Makes V8 forget about type information for test_load_set_smi. | 70 gc(); // Makes V8 forget about type information for test_load_set_smi. |
| OLD | NEW |