| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 SharedFunctionInfo); | 961 SharedFunctionInfo); |
| 962 } | 962 } |
| 963 | 963 |
| 964 | 964 |
| 965 Handle<String> Factory::NumberToString(Handle<Object> number) { | 965 Handle<String> Factory::NumberToString(Handle<Object> number) { |
| 966 CALL_HEAP_FUNCTION(isolate(), | 966 CALL_HEAP_FUNCTION(isolate(), |
| 967 isolate()->heap()->NumberToString(*number), String); | 967 isolate()->heap()->NumberToString(*number), String); |
| 968 } | 968 } |
| 969 | 969 |
| 970 | 970 |
| 971 Handle<String> Factory::Uint32ToString(uint32_t value) { |
| 972 CALL_HEAP_FUNCTION(isolate(), |
| 973 isolate()->heap()->Uint32ToString(value), String); |
| 974 } |
| 975 |
| 976 |
| 971 Handle<NumberDictionary> Factory::DictionaryAtNumberPut( | 977 Handle<NumberDictionary> Factory::DictionaryAtNumberPut( |
| 972 Handle<NumberDictionary> dictionary, | 978 Handle<NumberDictionary> dictionary, |
| 973 uint32_t key, | 979 uint32_t key, |
| 974 Handle<Object> value) { | 980 Handle<Object> value) { |
| 975 CALL_HEAP_FUNCTION(isolate(), | 981 CALL_HEAP_FUNCTION(isolate(), |
| 976 dictionary->AtNumberPut(key, *value), | 982 dictionary->AtNumberPut(key, *value), |
| 977 NumberDictionary); | 983 NumberDictionary); |
| 978 } | 984 } |
| 979 | 985 |
| 980 | 986 |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1271 Execution::ConfigureInstance(instance, | 1277 Execution::ConfigureInstance(instance, |
| 1272 instance_template, | 1278 instance_template, |
| 1273 pending_exception); | 1279 pending_exception); |
| 1274 } else { | 1280 } else { |
| 1275 *pending_exception = false; | 1281 *pending_exception = false; |
| 1276 } | 1282 } |
| 1277 } | 1283 } |
| 1278 | 1284 |
| 1279 | 1285 |
| 1280 } } // namespace v8::internal | 1286 } } // namespace v8::internal |
| OLD | NEW |