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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { | 327 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { |
328 CALL_HEAP_FUNCTION(src->GetFastElementsMap(), Map); | 328 CALL_HEAP_FUNCTION(src->GetFastElementsMap(), Map); |
329 } | 329 } |
330 | 330 |
331 | 331 |
332 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { | 332 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { |
333 CALL_HEAP_FUNCTION(src->GetSlowElementsMap(), Map); | 333 CALL_HEAP_FUNCTION(src->GetSlowElementsMap(), Map); |
334 } | 334 } |
335 | 335 |
336 | 336 |
| 337 Handle<Map> Factory::GetPixelArrayElementsMap(Handle<Map> src) { |
| 338 CALL_HEAP_FUNCTION(src->GetPixelArrayElementsMap(), Map); |
| 339 } |
| 340 |
| 341 |
337 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { | 342 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { |
338 CALL_HEAP_FUNCTION(array->Copy(), FixedArray); | 343 CALL_HEAP_FUNCTION(array->Copy(), FixedArray); |
339 } | 344 } |
340 | 345 |
341 | 346 |
342 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( | 347 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( |
343 Handle<SharedFunctionInfo> function_info, | 348 Handle<SharedFunctionInfo> function_info, |
344 Handle<Map> function_map, | 349 Handle<Map> function_map, |
345 PretenureFlag pretenure) { | 350 PretenureFlag pretenure) { |
346 CALL_HEAP_FUNCTION(Heap::AllocateFunction(*function_map, | 351 CALL_HEAP_FUNCTION(Heap::AllocateFunction(*function_map, |
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 Execution::ConfigureInstance(instance, | 1076 Execution::ConfigureInstance(instance, |
1072 instance_template, | 1077 instance_template, |
1073 pending_exception); | 1078 pending_exception); |
1074 } else { | 1079 } else { |
1075 *pending_exception = false; | 1080 *pending_exception = false; |
1076 } | 1081 } |
1077 } | 1082 } |
1078 | 1083 |
1079 | 1084 |
1080 } } // namespace v8::internal | 1085 } } // namespace v8::internal |
OLD | NEW |