| Index: test/mjsunit/regress/regress-fast-empty-string.js
|
| diff --git a/test/mjsunit/regress/regress-fast-empty-string.js b/test/mjsunit/regress/regress-fast-empty-string.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9b9fea963a4f7f094283ce5b42289127cb7f594d
|
| --- /dev/null
|
| +++ b/test/mjsunit/regress/regress-fast-empty-string.js
|
| @@ -0,0 +1,13 @@
|
| +// Copyright 2014 the V8 project authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +var o = {};
|
| +o[""] = 1;
|
| +var x = {__proto__:o};
|
| +for (i = 0; i < 3; i++) {
|
| + o[""];
|
| +}
|
| +for (i = 0; i < 3; i++) {
|
| + assertEquals(undefined, o.x);
|
| +}
|
|
|