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

Side by Side Diff: src/prologue.js

Issue 1400463002: [builtins] Drop useless ToBoolean JavaScript builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 "InnerArraySort", 180 "InnerArraySort",
181 "InnerArrayToLocaleString", 181 "InnerArrayToLocaleString",
182 "IsNaN", 182 "IsNaN",
183 "MathMax", 183 "MathMax",
184 "MathMin", 184 "MathMin",
185 "ObjectIsFrozen", 185 "ObjectIsFrozen",
186 "ObjectDefineProperty", 186 "ObjectDefineProperty",
187 "OwnPropertyKeys", 187 "OwnPropertyKeys",
188 "SymbolToString", 188 "SymbolToString",
189 "ToNameArray", 189 "ToNameArray",
190 "ToBoolean",
191 // From runtime: 190 // From runtime:
192 "is_concat_spreadable_symbol", 191 "is_concat_spreadable_symbol",
193 "iterator_symbol", 192 "iterator_symbol",
194 "promise_status_symbol", 193 "promise_status_symbol",
195 "promise_value_symbol", 194 "promise_value_symbol",
196 "reflect_apply", 195 "reflect_apply",
197 "reflect_construct", 196 "reflect_construct",
198 "to_string_tag_symbol", 197 "to_string_tag_symbol",
199 ]; 198 ];
200 199
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 303
305 extrasUtils.uncurryThis = function uncurryThis(func) { 304 extrasUtils.uncurryThis = function uncurryThis(func) {
306 return function(thisArg) { 305 return function(thisArg) {
307 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); 306 return %Apply(func, thisArg, arguments, 1, arguments.length - 1);
308 }; 307 };
309 }; 308 };
310 309
311 %ToFastProperties(extrasUtils); 310 %ToFastProperties(extrasUtils);
312 311
313 }) 312 })
OLDNEW
« src/macros.py ('K') | « src/macros.py ('k') | src/runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698