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 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 if (!maybe_obj->ToObject(&obj)) return false; | 1723 if (!maybe_obj->ToObject(&obj)) return false; |
1724 } | 1724 } |
1725 set_external_unsigned_int_array_map(Map::cast(obj)); | 1725 set_external_unsigned_int_array_map(Map::cast(obj)); |
1726 | 1726 |
1727 { MaybeObject* maybe_obj = AllocateMap(EXTERNAL_FLOAT_ARRAY_TYPE, | 1727 { MaybeObject* maybe_obj = AllocateMap(EXTERNAL_FLOAT_ARRAY_TYPE, |
1728 ExternalArray::kAlignedSize); | 1728 ExternalArray::kAlignedSize); |
1729 if (!maybe_obj->ToObject(&obj)) return false; | 1729 if (!maybe_obj->ToObject(&obj)) return false; |
1730 } | 1730 } |
1731 set_external_float_array_map(Map::cast(obj)); | 1731 set_external_float_array_map(Map::cast(obj)); |
1732 | 1732 |
| 1733 { MaybeObject* maybe_obj = |
| 1734 AllocateMap(FIXED_ARRAY_TYPE, kVariableSizeSentinel); |
| 1735 if (!maybe_obj->ToObject(&obj)) return false; |
| 1736 } |
| 1737 set_non_strict_arguments_elements_map(Map::cast(obj)); |
| 1738 |
1733 { MaybeObject* maybe_obj = AllocateMap(CODE_TYPE, kVariableSizeSentinel); | 1739 { MaybeObject* maybe_obj = AllocateMap(CODE_TYPE, kVariableSizeSentinel); |
1734 if (!maybe_obj->ToObject(&obj)) return false; | 1740 if (!maybe_obj->ToObject(&obj)) return false; |
1735 } | 1741 } |
1736 set_code_map(Map::cast(obj)); | 1742 set_code_map(Map::cast(obj)); |
1737 | 1743 |
1738 { MaybeObject* maybe_obj = AllocateMap(JS_GLOBAL_PROPERTY_CELL_TYPE, | 1744 { MaybeObject* maybe_obj = AllocateMap(JS_GLOBAL_PROPERTY_CELL_TYPE, |
1739 JSGlobalPropertyCell::kSize); | 1745 JSGlobalPropertyCell::kSize); |
1740 if (!maybe_obj->ToObject(&obj)) return false; | 1746 if (!maybe_obj->ToObject(&obj)) return false; |
1741 } | 1747 } |
1742 set_global_property_cell_map(Map::cast(obj)); | 1748 set_global_property_cell_map(Map::cast(obj)); |
(...skipping 4034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5777 } | 5783 } |
5778 | 5784 |
5779 | 5785 |
5780 void ExternalStringTable::TearDown() { | 5786 void ExternalStringTable::TearDown() { |
5781 new_space_strings_.Free(); | 5787 new_space_strings_.Free(); |
5782 old_space_strings_.Free(); | 5788 old_space_strings_.Free(); |
5783 } | 5789 } |
5784 | 5790 |
5785 | 5791 |
5786 } } // namespace v8::internal | 5792 } } // namespace v8::internal |
OLD | NEW |