2016-04-20 19:42:55 +00:00
|
|
|
// Copyright 2016 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.
|
|
|
|
|
|
|
|
function $DETACHBUFFER(buffer) {
|
2018-12-11 10:22:02 +00:00
|
|
|
%ArrayBufferDetach(buffer);
|
2016-04-20 19:42:55 +00:00
|
|
|
}
|
2016-09-01 17:42:25 +00:00
|
|
|
|
2017-03-13 14:33:07 +00:00
|
|
|
$262.detachArrayBuffer = $DETACHBUFFER;
|