OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 function foo(a, s) { a[s] = 35; } | |
6 var x = { bilbo: 3 }; | |
7 var y = { frodo: 3, bilbo: 'hi' }; | |
8 foo(x, "bilbo"); | |
9 foo(x, "bilbo"); | |
10 // Without the fix for 4495, this will crash on ia32: | |
11 foo(y, "bilbo"); | |
OLD | NEW |