OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1799 initial_map->AppendDescriptor(&input_field, witness); | 1799 initial_map->AppendDescriptor(&input_field, witness); |
1800 } | 1800 } |
1801 | 1801 |
1802 initial_map->set_inobject_properties(2); | 1802 initial_map->set_inobject_properties(2); |
1803 initial_map->set_pre_allocated_property_fields(2); | 1803 initial_map->set_pre_allocated_property_fields(2); |
1804 initial_map->set_unused_property_fields(0); | 1804 initial_map->set_unused_property_fields(0); |
1805 | 1805 |
1806 native_context()->set_regexp_result_map(*initial_map); | 1806 native_context()->set_regexp_result_map(*initial_map); |
1807 } | 1807 } |
1808 | 1808 |
1809 #ifdef DEBUG | 1809 #ifdef VERIFY_HEAP |
1810 builtins->Verify(); | 1810 builtins->Verify(); |
1811 #endif | 1811 #endif |
1812 | 1812 |
1813 return true; | 1813 return true; |
1814 } | 1814 } |
1815 | 1815 |
1816 | 1816 |
1817 bool Genesis::InstallExperimentalNatives() { | 1817 bool Genesis::InstallExperimentalNatives() { |
1818 for (int i = ExperimentalNatives::GetDebuggerCount(); | 1818 for (int i = ExperimentalNatives::GetDebuggerCount(); |
1819 i < ExperimentalNatives::GetBuiltinsCount(); | 1819 i < ExperimentalNatives::GetBuiltinsCount(); |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2399 return from + sizeof(NestingCounterType); | 2399 return from + sizeof(NestingCounterType); |
2400 } | 2400 } |
2401 | 2401 |
2402 | 2402 |
2403 // Called when the top-level V8 mutex is destroyed. | 2403 // Called when the top-level V8 mutex is destroyed. |
2404 void Bootstrapper::FreeThreadResources() { | 2404 void Bootstrapper::FreeThreadResources() { |
2405 ASSERT(!IsActive()); | 2405 ASSERT(!IsActive()); |
2406 } | 2406 } |
2407 | 2407 |
2408 } } // namespace v8::internal | 2408 } } // namespace v8::internal |
OLD | NEW |