Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1001)

Unified Diff: test/test262/detachArrayBuffer.js

Issue 1897203003: Detach ArrayBuffer in test262 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Refactoring Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/test262/testcfg.py » ('j') | test/test262/testcfg.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | test/test262/testcfg.py » ('j') | test/test262/testcfg.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698