Reviewers: Jakob,

Description:
Fix harmony-sharedarraybuffer implementation.

NOTREECHECKS=true
NOTRY=true
[email protected]

Please review this at https://codereview.chromium.org/1161553002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+4, -4 lines):
  M src/harmony-sharedarraybuffer.js


Index: src/harmony-sharedarraybuffer.js
diff --git a/src/harmony-sharedarraybuffer.js b/src/harmony-sharedarraybuffer.js index 9843e79a2896d98da54ea6c9109adfdbd2a370b5..4ebfaadb2a6f739361563150a6ffdf0cdc1dd5a2 100644
--- a/src/harmony-sharedarraybuffer.js
+++ b/src/harmony-sharedarraybuffer.js
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.

-(function(global, shared, exports) {
+(function(global, utils) {

 "use strict";

@@ -46,10 +46,10 @@ function SharedArrayBufferIsViewJS(obj) {
 %AddNamedProperty(GlobalSharedArrayBuffer.prototype,
     symbolToStringTag, "SharedArrayBuffer", DONT_ENUM | READ_ONLY);

-$installGetter(GlobalSharedArrayBuffer.prototype, "byteLength",
-              SharedArrayBufferGetByteLen);
+utils.InstallGetter(GlobalSharedArrayBuffer.prototype, "byteLength",
+                    SharedArrayBufferGetByteLen);

-$installFunctions(GlobalSharedArrayBuffer, DONT_ENUM, [
+utils.InstallFunctions(GlobalSharedArrayBuffer, DONT_ENUM, [
     "isView", SharedArrayBufferIsViewJS
 ]);



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to