| Index: test/mjsunit/regress/regress-crbug-320922.js | 
| diff --git a/test/mjsunit/elide-double-hole-check-9.js b/test/mjsunit/regress/regress-crbug-320922.js | 
| similarity index 78% | 
| copy from test/mjsunit/elide-double-hole-check-9.js | 
| copy to test/mjsunit/regress/regress-crbug-320922.js | 
| index 88bbc7eaaa2955cf726fda76fca080e8663b1a96..4a5b5813e025b74b7e48e37c7894d5546e0ae909 100644 | 
| --- a/test/mjsunit/elide-double-hole-check-9.js | 
| +++ b/test/mjsunit/regress/regress-crbug-320922.js | 
| @@ -27,23 +27,22 @@ | 
|  | 
| // Flags: --allow-natives-syntax | 
|  | 
| -var do_set = false; | 
| - | 
| -%NeverOptimizeFunction(set_proto_elements); | 
| -function set_proto_elements() { | 
| -  if (do_set) Array.prototype[1] = 1.5; | 
| -} | 
| - | 
| -function f(a, i) { | 
| -  set_proto_elements(); | 
| -  return a[i] + 0.5; | 
| +var string = "hello world"; | 
| +var expected = "Hello " + "world"; | 
| +function Capitalize() { | 
| +  %_OneByteSeqStringSetChar(string, 0, 0x48); | 
| } | 
| +Capitalize(); | 
| +assertEquals(expected, string); | 
| +Capitalize(); | 
| +assertEquals(expected, string); | 
|  | 
| -var arr = [0.0,,2.5]; | 
| -assertEquals(0.5, f(arr, 0)); | 
| -assertEquals(0.5, f(arr, 0)); | 
| -%OptimizeFunctionOnNextCall(f); | 
| -assertEquals(0.5, f(arr, 0)); | 
| -do_set = true; | 
| -assertEquals(2, f(arr, 1)); | 
| +var twobyte = "\u20ACello world"; | 
|  | 
| +function TwoByteCapitalize() { | 
| +  %_TwoByteSeqStringSetChar(twobyte, 0, 0x48); | 
| +} | 
| +TwoByteCapitalize(); | 
| +assertEquals(expected, twobyte); | 
| +TwoByteCapitalize(); | 
| +assertEquals(expected, twobyte); | 
|  |