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

Side by Side Diff: src/runtime.js

Issue 1307963002: Native context: alpha sort slots and remove boilerplate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rename Created 5 years, 3 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/proxy.js ('k') | src/v8natives.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // This files contains runtime support implemented in JavaScript. 5 // This files contains runtime support implemented in JavaScript.
6 6
7 // CAUTION: Some of the functions specified in this file are called 7 // CAUTION: Some of the functions specified in this file are called
8 // directly from compiled code. These are the functions with names in 8 // directly from compiled code. These are the functions with names in
9 // ALL CAPS. The compiled code passes the first argument in 'this'. 9 // ALL CAPS. The compiled code passes the first argument in 'this'.
10 10
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 APPLY_PREPARE, 908 APPLY_PREPARE,
909 REFLECT_APPLY_PREPARE, 909 REFLECT_APPLY_PREPARE,
910 REFLECT_CONSTRUCT_PREPARE, 910 REFLECT_CONSTRUCT_PREPARE,
911 STACK_OVERFLOW, 911 STACK_OVERFLOW,
912 TO_NUMBER, 912 TO_NUMBER,
913 TO_STRING, 913 TO_STRING,
914 TO_NAME, 914 TO_NAME,
915 }); 915 });
916 916
917 utils.ExportToRuntime(function(to) { 917 utils.ExportToRuntime(function(to) {
918 to.ToNumber = ToNumber; 918 to["to_integer_fun"] = ToInteger;
919 to.ToString = ToString; 919 to["to_length_fun"] = ToLength;
920 to.ToInteger = ToInteger; 920 to["to_number_fun"] = ToNumber;
921 to.ToLength = ToLength; 921 to["to_string_fun"] = ToString;
922 }); 922 });
923 923
924 utils.Export(function(to) { 924 utils.Export(function(to) {
925 to.ToBoolean = ToBoolean; 925 to.ToBoolean = ToBoolean;
926 to.ToNumber = ToNumber; 926 to.ToNumber = ToNumber;
927 to.ToString = ToString; 927 to.ToString = ToString;
928 }) 928 })
929 929
930 }) 930 })
OLDNEW
« no previous file with comments | « src/proxy.js ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698