| 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { | 385 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { |
| 386 CALL_HEAP_FUNCTION(isolate(), src->GetFastElementsMap(), Map); | 386 CALL_HEAP_FUNCTION(isolate(), src->GetFastElementsMap(), Map); |
| 387 } | 387 } |
| 388 | 388 |
| 389 | 389 |
| 390 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { | 390 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { |
| 391 CALL_HEAP_FUNCTION(isolate(), src->GetSlowElementsMap(), Map); | 391 CALL_HEAP_FUNCTION(isolate(), src->GetSlowElementsMap(), Map); |
| 392 } | 392 } |
| 393 | 393 |
| 394 | 394 |
| 395 Handle<Map> Factory::NewExternalArrayElementsMap(Handle<Map> src) { | 395 Handle<Map> Factory::GetExternalArrayElementsMap( |
| 396 CALL_HEAP_FUNCTION(isolate(), src->NewExternalArrayElementsMap(), Map); | 396 Handle<Map> src, |
| 397 ExternalArrayType array_type, |
| 398 bool safe_to_add_transition) { |
| 399 CALL_HEAP_FUNCTION(isolate(), |
| 400 src->GetExternalArrayElementsMap(array_type, |
| 401 safe_to_add_transition), |
| 402 Map); |
| 397 } | 403 } |
| 398 | 404 |
| 399 | 405 |
| 400 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { | 406 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { |
| 401 CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray); | 407 CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray); |
| 402 } | 408 } |
| 403 | 409 |
| 404 | 410 |
| 405 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( | 411 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( |
| 406 Handle<SharedFunctionInfo> function_info, | 412 Handle<SharedFunctionInfo> function_info, |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1182 Execution::ConfigureInstance(instance, | 1188 Execution::ConfigureInstance(instance, |
| 1183 instance_template, | 1189 instance_template, |
| 1184 pending_exception); | 1190 pending_exception); |
| 1185 } else { | 1191 } else { |
| 1186 *pending_exception = false; | 1192 *pending_exception = false; |
| 1187 } | 1193 } |
| 1188 } | 1194 } |
| 1189 | 1195 |
| 1190 | 1196 |
| 1191 } } // namespace v8::internal | 1197 } } // namespace v8::internal |
| OLD | NEW |