| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 448   copy->set_visitor_id(StaticVisitorBase::GetVisitorId(*copy)); | 448   copy->set_visitor_id(StaticVisitorBase::GetVisitorId(*copy)); | 
| 449   return copy; | 449   return copy; | 
| 450 } | 450 } | 
| 451 | 451 | 
| 452 | 452 | 
| 453 Handle<Map> Factory::CopyMapDropTransitions(Handle<Map> src) { | 453 Handle<Map> Factory::CopyMapDropTransitions(Handle<Map> src) { | 
| 454   CALL_HEAP_FUNCTION(isolate(), src->CopyDropTransitions(), Map); | 454   CALL_HEAP_FUNCTION(isolate(), src->CopyDropTransitions(), Map); | 
| 455 } | 455 } | 
| 456 | 456 | 
| 457 | 457 | 
| 458 Handle<Map> Factory::GetFastElementsMap(Handle<Map> src) { |  | 
| 459   CALL_HEAP_FUNCTION(isolate(), src->GetFastElementsMap(), Map); |  | 
| 460 } |  | 
| 461 |  | 
| 462 |  | 
| 463 Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { |  | 
| 464   CALL_HEAP_FUNCTION(isolate(), src->GetSlowElementsMap(), Map); |  | 
| 465 } |  | 
| 466 |  | 
| 467 |  | 
| 468 Handle<Map> Factory::GetElementsTransitionMap( | 458 Handle<Map> Factory::GetElementsTransitionMap( | 
| 469     Handle<Map> src, | 459     Handle<JSObject> src, | 
| 470     ElementsKind elements_kind, | 460     ElementsKind elements_kind) { | 
| 471     bool safe_to_add_transition) { |  | 
| 472   CALL_HEAP_FUNCTION(isolate(), | 461   CALL_HEAP_FUNCTION(isolate(), | 
| 473                      src->GetElementsTransitionMap(elements_kind, | 462                      src->GetElementsTransitionMap(elements_kind), | 
| 474                                                    safe_to_add_transition), |  | 
| 475                      Map); | 463                      Map); | 
| 476 } | 464 } | 
| 477 | 465 | 
| 478 | 466 | 
| 479 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { | 467 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { | 
| 480   CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray); | 468   CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray); | 
| 481 } | 469 } | 
| 482 | 470 | 
| 483 | 471 | 
| 484 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( | 472 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( | 
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1293     Execution::ConfigureInstance(instance, | 1281     Execution::ConfigureInstance(instance, | 
| 1294                                  instance_template, | 1282                                  instance_template, | 
| 1295                                  pending_exception); | 1283                                  pending_exception); | 
| 1296   } else { | 1284   } else { | 
| 1297     *pending_exception = false; | 1285     *pending_exception = false; | 
| 1298   } | 1286   } | 
| 1299 } | 1287 } | 
| 1300 | 1288 | 
| 1301 | 1289 | 
| 1302 } }  // namespace v8::internal | 1290 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|