From c052d2f7083147d5ea8a727b961eb56b23ecb909 Mon Sep 17 00:00:00 2001 From: "mstarzinger@chromium.org" Date: Fri, 12 Apr 2013 15:52:44 +0000 Subject: [PATCH] Switch generator builtins into strict mode. R=rossberg@chromium.org Review URL: https://codereview.chromium.org/13985011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14255 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/generator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/generator.js b/src/generator.js index cac536054e..d579928cba 100644 --- a/src/generator.js +++ b/src/generator.js @@ -25,8 +25,9 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +"use strict"; + // This file relies on the fact that the following declarations have been made -// // in runtime.js: // var $Function = global.Function;