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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { | 458 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { |
459 CALL_HEAP_FUNCTION(isolate(), src->GetFastElementsMap(), Map); | 459 CALL_HEAP_FUNCTION(isolate(), src->GetFastElementsMap(), Map); |
460 } | 460 } |
461 | 461 |
462 | 462 |
463 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { | 463 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { |
464 CALL_HEAP_FUNCTION(isolate(), src->GetSlowElementsMap(), Map); | 464 CALL_HEAP_FUNCTION(isolate(), src->GetSlowElementsMap(), Map); |
465 } | 465 } |
466 | 466 |
467 | 467 |
468 Handle<Map> Factory::GetExternalArrayElementsMap( | 468 Handle<Map> Factory::GetElementsTransitionMap( |
469 Handle<Map> src, | 469 Handle<Map> src, |
470 ExternalArrayType array_type, | 470 ElementsKind elements_kind, |
471 bool safe_to_add_transition) { | 471 bool safe_to_add_transition) { |
472 CALL_HEAP_FUNCTION(isolate(), | 472 CALL_HEAP_FUNCTION(isolate(), |
473 src->GetExternalArrayElementsMap(array_type, | 473 src->GetElementsTransitionMap(elements_kind, |
474 safe_to_add_transition), | 474 safe_to_add_transition), |
475 Map); | 475 Map); |
476 } | 476 } |
477 | 477 |
478 | 478 |
479 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { | 479 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { |
480 CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray); | 480 CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray); |
481 } | 481 } |
482 | 482 |
483 | 483 |
484 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( | 484 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( |
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 Execution::ConfigureInstance(instance, | 1284 Execution::ConfigureInstance(instance, |
1285 instance_template, | 1285 instance_template, |
1286 pending_exception); | 1286 pending_exception); |
1287 } else { | 1287 } else { |
1288 *pending_exception = false; | 1288 *pending_exception = false; |
1289 } | 1289 } |
1290 } | 1290 } |
1291 | 1291 |
1292 | 1292 |
1293 } } // namespace v8::internal | 1293 } } // namespace v8::internal |
OLD | NEW |