Index: test/test262/detachArrayBuffer.js |
diff --git a/test/mjsunit/ignition/dead-code-source-position.js b/test/test262/detachArrayBuffer.js |
similarity index 72% |
copy from test/mjsunit/ignition/dead-code-source-position.js |
copy to test/test262/detachArrayBuffer.js |
index 95bb9183b880229a703e58503e9aec2a673015aa..adfece7edb742a1f08967bb4c094fa0ee0a041e4 100644 |
--- a/test/mjsunit/ignition/dead-code-source-position.js |
+++ b/test/test262/detachArrayBuffer.js |
@@ -2,8 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-function f() { |
- for (f(x) in []) { f(new f()) } |
+function $DETACHBUFFER(buffer) { |
+ %ArrayBufferNeuter(buffer); |
} |
- |
-f(); |