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

Side by Side Diff: src/prologue.js

Issue 1294583006: Clean up native context slots and add new ones. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « src/messages.js ('k') | src/promise.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) { 5 (function(global, utils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 "SetUpLockedPrototype", SetUpLockedPrototype, 263 "SetUpLockedPrototype", SetUpLockedPrototype,
264 "PostNatives", PostNatives, 264 "PostNatives", PostNatives,
265 "PostExperimentals", PostExperimentals, 265 "PostExperimentals", PostExperimentals,
266 "PostDebug", PostDebug, 266 "PostDebug", PostDebug,
267 ]); 267 ]);
268 268
269 // TODO(yangguo): run prologue.js before runtime.js 269 // TODO(yangguo): run prologue.js before runtime.js
270 ExportToRuntime(function(to) { 270 ExportToRuntime(function(to) {
271 to.ToNumber = $toNumber; 271 to.ToNumber = $toNumber;
272 to.ToString = $toString; 272 to.ToString = $toString;
273 to.ToDetailString = $toDetailString;
274 to.ToInteger = $toInteger; 273 to.ToInteger = $toInteger;
275 to.ToLength = $toLength; 274 to.ToLength = $toLength;
276 }); 275 });
277 276
278 }) 277 })
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698