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

Unified Diff: src/math.js

Issue 7799027: Lock the prototype of internal classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: src/math.js
diff --git a/src/math.js b/src/math.js
index 70b8c57cae5c48058c14ce76fdf756f2aabb3739..d3bfd232ac87038975f823518eaf32ad56cc1983 100644
--- a/src/math.js
+++ b/src/math.js
@@ -196,6 +196,7 @@ function MathTan(x) {
// -------------------------------------------------------------------
function SetupMath() {
Erik Corry 2011/08/31 05:46:04 SetUpMath
+ %AssertIsBootstrapping();
// Setup math constants.
// ECMA-262, section 15.8.1.1.
%OptimizeObjectForAddingMultipleProperties($Math, 8);

Powered by Google App Engine
This is Rietveld 408576698