| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1150 return ExternalReference(heap->always_allocate_scope_depth_address()); | 1150 return ExternalReference(heap->always_allocate_scope_depth_address()); |
| 1151 } | 1151 } |
| 1152 | 1152 |
| 1153 | 1153 |
| 1154 ExternalReference ExternalReference::new_space_allocation_limit_address( | 1154 ExternalReference ExternalReference::new_space_allocation_limit_address( |
| 1155 Isolate* isolate) { | 1155 Isolate* isolate) { |
| 1156 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); | 1156 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); |
| 1157 } | 1157 } |
| 1158 | 1158 |
| 1159 | 1159 |
| 1160 ExternalReference ExternalReference::handle_scope_level_address() { | 1160 ExternalReference ExternalReference::handle_scope_level_address( |
| 1161 return ExternalReference(HandleScope::current_level_address()); | 1161 Isolate* isolate) { |
| 1162 return ExternalReference(HandleScope::current_level_address(isolate)); |
| 1162 } | 1163 } |
| 1163 | 1164 |
| 1164 | 1165 |
| 1165 ExternalReference ExternalReference::handle_scope_next_address() { | 1166 ExternalReference ExternalReference::handle_scope_next_address( |
| 1166 return ExternalReference(HandleScope::current_next_address()); | 1167 Isolate* isolate) { |
| 1168 return ExternalReference(HandleScope::current_next_address(isolate)); |
| 1167 } | 1169 } |
| 1168 | 1170 |
| 1169 | 1171 |
| 1170 ExternalReference ExternalReference::handle_scope_limit_address() { | 1172 ExternalReference ExternalReference::handle_scope_limit_address( |
| 1171 return ExternalReference(HandleScope::current_limit_address()); | 1173 Isolate* isolate) { |
| 1174 return ExternalReference(HandleScope::current_limit_address(isolate)); |
| 1172 } | 1175 } |
| 1173 | 1176 |
| 1174 | 1177 |
| 1175 ExternalReference ExternalReference::scheduled_exception_address( | 1178 ExternalReference ExternalReference::scheduled_exception_address( |
| 1176 Isolate* isolate) { | 1179 Isolate* isolate) { |
| 1177 return ExternalReference(isolate->scheduled_exception_address()); | 1180 return ExternalReference(isolate->scheduled_exception_address()); |
| 1178 } | 1181 } |
| 1179 | 1182 |
| 1180 | 1183 |
| 1181 ExternalReference ExternalReference::address_of_pending_message_obj( | 1184 ExternalReference ExternalReference::address_of_pending_message_obj( |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1597 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1600 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1598 state_.written_position = state_.current_position; | 1601 state_.written_position = state_.current_position; |
| 1599 written = true; | 1602 written = true; |
| 1600 } | 1603 } |
| 1601 | 1604 |
| 1602 // Return whether something was written. | 1605 // Return whether something was written. |
| 1603 return written; | 1606 return written; |
| 1604 } | 1607 } |
| 1605 | 1608 |
| 1606 } } // namespace v8::internal | 1609 } } // namespace v8::internal |
| OLD | NEW |