// 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.// Flags: --allow-natives-syntaxfunctiong(a,b,c){returna+b+c;}varasm=(functionModule(global,env,buffer){"use asm";vari32=newglobal.Int32Array(buffer);// This is not valid asm.js, but we should still generate correct code.functionstore(x){returng(1,i32[0]=x,2);}return{store:store};})({"Int32Array":Int32Array},{},newArrayBuffer(64*1024));varo={toString:function(){%DeoptimizeFunction(asm.store);return"1";}}asm.store(o);