| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 344       "HandleScope::DeleteExtensions"); | 344       "HandleScope::DeleteExtensions"); | 
| 345   Add(ExternalReference:: | 345   Add(ExternalReference:: | 
| 346           incremental_marking_record_write_function(isolate).address(), | 346           incremental_marking_record_write_function(isolate).address(), | 
| 347       RUNTIME_ENTRY, | 347       RUNTIME_ENTRY, | 
| 348       5, | 348       5, | 
| 349       "IncrementalMarking::RecordWrite"); | 349       "IncrementalMarking::RecordWrite"); | 
| 350   Add(ExternalReference::store_buffer_overflow_function(isolate).address(), | 350   Add(ExternalReference::store_buffer_overflow_function(isolate).address(), | 
| 351       RUNTIME_ENTRY, | 351       RUNTIME_ENTRY, | 
| 352       6, | 352       6, | 
| 353       "StoreBuffer::StoreBufferOverflow"); | 353       "StoreBuffer::StoreBufferOverflow"); | 
|  | 354   Add(ExternalReference:: | 
|  | 355           incremental_evacuation_record_write_function(isolate).address(), | 
|  | 356       RUNTIME_ENTRY, | 
|  | 357       7, | 
|  | 358       "IncrementalMarking::RecordWrite"); | 
|  | 359 | 
| 354 | 360 | 
| 355 | 361 | 
| 356   // Miscellaneous | 362   // Miscellaneous | 
| 357   Add(ExternalReference::the_hole_value_location(isolate).address(), | 363   Add(ExternalReference::the_hole_value_location(isolate).address(), | 
| 358       UNCLASSIFIED, | 364       UNCLASSIFIED, | 
| 359       2, | 365       2, | 
| 360       "Factory::the_hole_value().location()"); | 366       "Factory::the_hole_value().location()"); | 
| 361   Add(ExternalReference::roots_address(isolate).address(), | 367   Add(ExternalReference::roots_address(isolate).address(), | 
| 362       UNCLASSIFIED, | 368       UNCLASSIFIED, | 
| 363       3, | 369       3, | 
| (...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1594       fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); | 1600       fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); | 
| 1595     } | 1601     } | 
| 1596   } | 1602   } | 
| 1597   int allocation_address = fullness_[space]; | 1603   int allocation_address = fullness_[space]; | 
| 1598   fullness_[space] = allocation_address + size; | 1604   fullness_[space] = allocation_address + size; | 
| 1599   return allocation_address; | 1605   return allocation_address; | 
| 1600 } | 1606 } | 
| 1601 | 1607 | 
| 1602 | 1608 | 
| 1603 } }  // namespace v8::internal | 1609 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|