| OLD | NEW | 
|    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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  856   "sar_strong_builtin", SAR_STRONG, |  856   "sar_strong_builtin", SAR_STRONG, | 
|  857   "shl_builtin", SHL, |  857   "shl_builtin", SHL, | 
|  858   "shl_strong_builtin", SHL_STRONG, |  858   "shl_strong_builtin", SHL_STRONG, | 
|  859   "shr_builtin", SHR, |  859   "shr_builtin", SHR, | 
|  860   "shr_strong_builtin", SHR_STRONG, |  860   "shr_strong_builtin", SHR_STRONG, | 
|  861   "stack_overflow_builtin", STACK_OVERFLOW, |  861   "stack_overflow_builtin", STACK_OVERFLOW, | 
|  862   "string_add_left_builtin", STRING_ADD_LEFT, |  862   "string_add_left_builtin", STRING_ADD_LEFT, | 
|  863   "string_add_right_builtin", STRING_ADD_RIGHT, |  863   "string_add_right_builtin", STRING_ADD_RIGHT, | 
|  864   "sub_builtin", SUB, |  864   "sub_builtin", SUB, | 
|  865   "sub_strong_builtin", SUB_STRONG, |  865   "sub_strong_builtin", SUB_STRONG, | 
|  866   "to_string_builtin", TO_STRING, |  | 
|  867 ]); |  866 ]); | 
|  868  |  867  | 
|  869 %InstallToContext([ |  868 %InstallToContext([ | 
|  870   "concat_iterable_to_array", ConcatIterableToArray, |  869   "concat_iterable_to_array", ConcatIterableToArray, | 
|  871   "non_number_to_number", NonNumberToNumber, |  870   "non_number_to_number", NonNumberToNumber, | 
|  872   "non_string_to_string", NonStringToString, |  871   "non_string_to_string", NonStringToString, | 
|  873   "to_integer_fun", ToInteger, |  872   "to_integer_fun", ToInteger, | 
|  874   "to_length_fun", ToLength, |  873   "to_length_fun", ToLength, | 
|  875   "to_number_fun", ToNumber, |  874   "to_number_fun", ToNumber, | 
|  876   "to_primitive", ToPrimitive, |  875   "to_primitive", ToPrimitive, | 
|  877   "to_string_fun", ToString, |  876   "to_string_fun", ToString, | 
|  878 ]); |  877 ]); | 
|  879  |  878  | 
|  880 utils.Export(function(to) { |  879 utils.Export(function(to) { | 
|  881   to.ToBoolean = ToBoolean; |  880   to.ToBoolean = ToBoolean; | 
|  882   to.ToLength = ToLength; |  881   to.ToLength = ToLength; | 
|  883   to.ToNumber = ToNumber; |  882   to.ToNumber = ToNumber; | 
|  884   to.ToPrimitive = ToPrimitive; |  883   to.ToPrimitive = ToPrimitive; | 
|  885   to.ToString = ToString; |  884   to.ToString = ToString; | 
|  886 }); |  885 }); | 
|  887  |  886  | 
|  888 }) |  887 }) | 
| OLD | NEW |