| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { | 317 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { |
| 318 CALL_HEAP_FUNCTION(src->GetFastElementsMap(), Map); | 318 CALL_HEAP_FUNCTION(src->GetFastElementsMap(), Map); |
| 319 } | 319 } |
| 320 | 320 |
| 321 | 321 |
| 322 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { | 322 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { |
| 323 CALL_HEAP_FUNCTION(src->GetSlowElementsMap(), Map); | 323 CALL_HEAP_FUNCTION(src->GetSlowElementsMap(), Map); |
| 324 } | 324 } |
| 325 | 325 |
| 326 | 326 |
| 327 Handle<Map> Factory::NewExternalArrayElementsMap(Handle<Map> src) { | 327 Handle<Map> Factory::GetExternalArrayElementsMap( |
| 328 CALL_HEAP_FUNCTION(src->NewExternalArrayElementsMap(), Map); | 328 Handle<Map> src, |
| 329 ExternalArrayType array_type) { |
| 330 CALL_HEAP_FUNCTION(src->GetExternalArrayElementsMap(array_type), Map); |
| 329 } | 331 } |
| 330 | 332 |
| 331 | 333 |
| 332 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { | 334 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { |
| 333 CALL_HEAP_FUNCTION(array->Copy(), FixedArray); | 335 CALL_HEAP_FUNCTION(array->Copy(), FixedArray); |
| 334 } | 336 } |
| 335 | 337 |
| 336 | 338 |
| 337 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( | 339 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( |
| 338 Handle<SharedFunctionInfo> function_info, | 340 Handle<SharedFunctionInfo> function_info, |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1069 Execution::ConfigureInstance(instance, | 1071 Execution::ConfigureInstance(instance, |
| 1070 instance_template, | 1072 instance_template, |
| 1071 pending_exception); | 1073 pending_exception); |
| 1072 } else { | 1074 } else { |
| 1073 *pending_exception = false; | 1075 *pending_exception = false; |
| 1074 } | 1076 } |
| 1075 } | 1077 } |
| 1076 | 1078 |
| 1077 | 1079 |
| 1078 } } // namespace v8::internal | 1080 } } // namespace v8::internal |
| OLD | NEW |