1 // Copyright 2016 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 5 // Flags: --harmony-tailcalls 6 7 "use strict"; 8 9 function h(global) { return global.boom(); } 10 function g() { var r = h({}); return r; } 11 function f() { 12 var o = {}; 13 o.__defineGetter__('prop1', g); 14 o.prop1; 15 } 16 17 assertThrows(f); 18