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

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

Issue 1553043002: [builtins] Migrate a bunch of Object builtins to C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « src/js/object-observe.js ('k') | src/js/templates.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 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "IsNaN", 189 "IsNaN",
190 "MakeError", 190 "MakeError",
191 "MakeTypeError", 191 "MakeTypeError",
192 "MapEntries", 192 "MapEntries",
193 "MapIterator", 193 "MapIterator",
194 "MapIteratorNext", 194 "MapIteratorNext",
195 "MathMax", 195 "MathMax",
196 "MathMin", 196 "MathMin",
197 "MaxSimple", 197 "MaxSimple",
198 "MinSimple", 198 "MinSimple",
199 "ObjectIsFrozen",
200 "ObjectDefineProperty", 199 "ObjectDefineProperty",
201 "ObserveArrayMethods", 200 "ObserveArrayMethods",
202 "ObserveObjectMethods", 201 "ObserveObjectMethods",
203 "PromiseChain", 202 "PromiseChain",
204 "PromiseDeferred", 203 "PromiseDeferred",
205 "PromiseResolved", 204 "PromiseResolved",
206 "SameValueZero", 205 "SameValueZero",
207 "SetIterator", 206 "SetIterator",
208 "SetIteratorNext", 207 "SetIteratorNext",
209 "SetValues", 208 "SetValues",
210 "SymbolToString", 209 "SymbolToString",
211 "ToPositiveInteger", 210 "ToPositiveInteger",
212 // From runtime: 211 // From runtime:
213 "is_concat_spreadable_symbol", 212 "is_concat_spreadable_symbol",
214 "iterator_symbol", 213 "iterator_symbol",
215 "promise_status_symbol", 214 "promise_status_symbol",
216 "promise_value_symbol", 215 "promise_value_symbol",
216 "object_freeze",
217 "object_is_frozen",
218 "object_is_sealed",
217 "reflect_apply", 219 "reflect_apply",
218 "reflect_construct", 220 "reflect_construct",
219 "regexp_flags_symbol", 221 "regexp_flags_symbol",
220 "to_string_tag_symbol", 222 "to_string_tag_symbol",
221 "object_to_string", 223 "object_to_string",
222 ]; 224 ];
223 225
224 var filtered_exports = {}; 226 var filtered_exports = {};
225 %OptimizeObjectForAddingMultipleProperties( 227 %OptimizeObjectForAddingMultipleProperties(
226 filtered_exports, expose_list.length); 228 filtered_exports, expose_list.length);
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 345
344 extrasUtils.uncurryThis = function uncurryThis(func) { 346 extrasUtils.uncurryThis = function uncurryThis(func) {
345 return function(thisArg) { 347 return function(thisArg) {
346 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); 348 return %Apply(func, thisArg, arguments, 1, arguments.length - 1);
347 }; 349 };
348 }; 350 };
349 351
350 %ToFastProperties(extrasUtils); 352 %ToFastProperties(extrasUtils);
351 353
352 }) 354 })
OLDNEW
« no previous file with comments | « src/js/object-observe.js ('k') | src/js/templates.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698