• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5var stdlib = {};
6var foreign = {};
7var heap = new ArrayBuffer(64 * 1024);
8
9var rol = (function Module(stdlib, foreign, heap) {
10  "use asm";
11  function rol() {
12    y = "a" > false;
13    return y + (1 - y);
14  }
15  return { rol: rol };
16})(stdlib, foreign, heap).rol;
17
18assertEquals(1, rol());
19