c5f7d2bb82
R=jarin@chromium.org LOG=Y BUG=chromium:458876 Review URL: https://codereview.chromium.org/917383004 Cr-Commit-Position: refs/heads/master@{#26666}
17 lines
380 B
JavaScript
17 lines
380 B
JavaScript
// Copyright 2015 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 module() {
|
|
"use asm";
|
|
function foo() {
|
|
do ; while (foo ? 0 : 1) ;
|
|
return -1 > 0 ? -1 : 0;
|
|
}
|
|
return foo;
|
|
}
|
|
|
|
var foo = module();
|
|
assertEquals(0, foo());
|
|
assertEquals(0, foo());
|