Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: src/math.js

Issue 279543002: Move more builtin files to strict mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/json.js ('k') | src/regexp.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 "use strict";
6
5 // This file relies on the fact that the following declarations have been made 7 // This file relies on the fact that the following declarations have been made
6 // in runtime.js: 8 // in runtime.js:
7 // var $Object = global.Object; 9 // var $Object = global.Object;
8 10
9 // Keep reference to original values of some global properties. This 11 // Keep reference to original values of some global properties. This
10 // has the added benefit that the code in this file is isolated from 12 // has the added benefit that the code in this file is isolated from
11 // changes to these properties. 13 // changes to these properties.
12 var $floor = MathFloor; 14 var $floor = MathFloor;
13 var $abs = MathAbs; 15 var $abs = MathAbs;
14 16
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 305
304 %SetInlineBuiltinFlag(MathCeil); 306 %SetInlineBuiltinFlag(MathCeil);
305 %SetInlineBuiltinFlag(MathRandom); 307 %SetInlineBuiltinFlag(MathRandom);
306 %SetInlineBuiltinFlag(MathSin); 308 %SetInlineBuiltinFlag(MathSin);
307 %SetInlineBuiltinFlag(MathCos); 309 %SetInlineBuiltinFlag(MathCos);
308 %SetInlineBuiltinFlag(MathTan); 310 %SetInlineBuiltinFlag(MathTan);
309 %SetInlineBuiltinFlag(TrigonometricInterpolation); 311 %SetInlineBuiltinFlag(TrigonometricInterpolation);
310 } 312 }
311 313
312 SetUpMath(); 314 SetUpMath();
OLDNEW
« no previous file with comments | « src/json.js ('k') | src/regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698