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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
390 "OffsetsVector::static_offsets_vector"); | 390 "OffsetsVector::static_offsets_vector"); |
391 #endif // V8_INTERPRETED_REGEXP | 391 #endif // V8_INTERPRETED_REGEXP |
392 Add(ExternalReference::new_space_start(isolate).address(), | 392 Add(ExternalReference::new_space_start(isolate).address(), |
393 UNCLASSIFIED, | 393 UNCLASSIFIED, |
394 10, | 394 10, |
395 "Heap::NewSpaceStart()"); | 395 "Heap::NewSpaceStart()"); |
396 Add(ExternalReference::new_space_mask(isolate).address(), | 396 Add(ExternalReference::new_space_mask(isolate).address(), |
397 UNCLASSIFIED, | 397 UNCLASSIFIED, |
398 11, | 398 11, |
399 "Heap::NewSpaceMask()"); | 399 "Heap::NewSpaceMask()"); |
400 Add(ExternalReference::new_space_mark_bits(isolate).address(), | 400 Add(ExternalReference::heap_always_allocate_scope_depth(isolate).address(), |
401 UNCLASSIFIED, | 401 UNCLASSIFIED, |
402 12, | 402 12, |
403 "Marking::new_space_bitmap()"); | |
404 Add(ExternalReference::heap_always_allocate_scope_depth(isolate).address(), | |
405 UNCLASSIFIED, | |
406 13, | |
407 "Heap::always_allocate_scope_depth()"); | 403 "Heap::always_allocate_scope_depth()"); |
408 Add(ExternalReference::new_space_allocation_limit_address(isolate).address(), | 404 Add(ExternalReference::new_space_allocation_limit_address(isolate).address(), |
409 UNCLASSIFIED, | 405 UNCLASSIFIED, |
410 14, | 406 13, |
411 "Heap::NewSpaceAllocationLimitAddress()"); | 407 "Heap::NewSpaceAllocationLimitAddress()"); |
412 Add(ExternalReference::new_space_allocation_top_address(isolate).address(), | 408 Add(ExternalReference::new_space_allocation_top_address(isolate).address(), |
413 UNCLASSIFIED, | 409 UNCLASSIFIED, |
414 15, | 410 15, |
Erik Corry
2011/05/16 18:44:49
Don't we need a 14 any more?
Vyacheslav Egorov (Chromium)
2011/05/17 11:18:32
Reverted.
| |
415 "Heap::NewSpaceAllocationTopAddress()"); | 411 "Heap::NewSpaceAllocationTopAddress()"); |
416 #ifdef ENABLE_DEBUGGER_SUPPORT | 412 #ifdef ENABLE_DEBUGGER_SUPPORT |
417 Add(ExternalReference::debug_break(isolate).address(), | 413 Add(ExternalReference::debug_break(isolate).address(), |
418 UNCLASSIFIED, | 414 UNCLASSIFIED, |
419 16, | 415 16, |
420 "Debug::Break()"); | 416 "Debug::Break()"); |
421 Add(ExternalReference::debug_step_in_fp_address(isolate).address(), | 417 Add(ExternalReference::debug_step_in_fp_address(isolate).address(), |
422 UNCLASSIFIED, | 418 UNCLASSIFIED, |
423 17, | 419 17, |
424 "Debug::step_in_fp_addr()"); | 420 "Debug::step_in_fp_addr()"); |
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1598 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); | 1594 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); |
1599 } | 1595 } |
1600 } | 1596 } |
1601 int allocation_address = fullness_[space]; | 1597 int allocation_address = fullness_[space]; |
1602 fullness_[space] = allocation_address + size; | 1598 fullness_[space] = allocation_address + size; |
1603 return allocation_address; | 1599 return allocation_address; |
1604 } | 1600 } |
1605 | 1601 |
1606 | 1602 |
1607 } } // namespace v8::internal | 1603 } } // namespace v8::internal |
OLD | NEW |