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

Side by Side Diff: src/js/prologue.js

Issue 1410473002: Reland: Use simple/fast inline function version of MinMax in JS (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use existing export in runtime Created 5 years, 2 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 (function(global, utils, extrasUtils) { 5 (function(global, utils, extrasUtils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 "InnerArrayReduceRight", 178 "InnerArrayReduceRight",
179 "InnerArrayReverse", 179 "InnerArrayReverse",
180 "InnerArraySome", 180 "InnerArraySome",
181 "InnerArraySort", 181 "InnerArraySort",
182 "InnerArrayToLocaleString", 182 "InnerArrayToLocaleString",
183 "IsNaN", 183 "IsNaN",
184 "MapEntries", 184 "MapEntries",
185 "MapIteratorNext", 185 "MapIteratorNext",
186 "MathMax", 186 "MathMax",
187 "MathMin", 187 "MathMin",
188 "MaxSimple",
189 "MinSimple",
188 "ObjectIsFrozen", 190 "ObjectIsFrozen",
189 "ObjectDefineProperty", 191 "ObjectDefineProperty",
190 "ObserveArrayMethods", 192 "ObserveArrayMethods",
191 "ObserveObjectMethods", 193 "ObserveObjectMethods",
192 "OwnPropertyKeys", 194 "OwnPropertyKeys",
193 "SetIteratorNext", 195 "SetIteratorNext",
194 "SetValues", 196 "SetValues",
195 "SymbolToString", 197 "SymbolToString",
196 "ToNameArray", 198 "ToNameArray",
197 "ToPositiveInteger", 199 "ToPositiveInteger",
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 313
312 extrasUtils.uncurryThis = function uncurryThis(func) { 314 extrasUtils.uncurryThis = function uncurryThis(func) {
313 return function(thisArg) { 315 return function(thisArg) {
314 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); 316 return %Apply(func, thisArg, arguments, 1, arguments.length - 1);
315 }; 317 };
316 }; 318 };
317 319
318 %ToFastProperties(extrasUtils); 320 %ToFastProperties(extrasUtils);
319 321
320 }) 322 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698