Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: src/assembler.cc

Issue 12300018: Made Isolate a mandatory parameter for everything Handle-related. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Even less Isolate::Current Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 return ExternalReference(heap->always_allocate_scope_depth_address()); 1135 return ExternalReference(heap->always_allocate_scope_depth_address());
1136 } 1136 }
1137 1137
1138 1138
1139 ExternalReference ExternalReference::new_space_allocation_limit_address( 1139 ExternalReference ExternalReference::new_space_allocation_limit_address(
1140 Isolate* isolate) { 1140 Isolate* isolate) {
1141 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); 1141 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress());
1142 } 1142 }
1143 1143
1144 1144
1145 ExternalReference ExternalReference::handle_scope_level_address() { 1145 ExternalReference ExternalReference::handle_scope_level_address(
1146 return ExternalReference(HandleScope::current_level_address()); 1146 Isolate* isolate) {
1147 return ExternalReference(HandleScope::current_level_address(isolate));
1147 } 1148 }
1148 1149
1149 1150
1150 ExternalReference ExternalReference::handle_scope_next_address() { 1151 ExternalReference ExternalReference::handle_scope_next_address(
1151 return ExternalReference(HandleScope::current_next_address()); 1152 Isolate* isolate) {
1153 return ExternalReference(HandleScope::current_next_address(isolate));
1152 } 1154 }
1153 1155
1154 1156
1155 ExternalReference ExternalReference::handle_scope_limit_address() { 1157 ExternalReference ExternalReference::handle_scope_limit_address(
1156 return ExternalReference(HandleScope::current_limit_address()); 1158 Isolate* isolate) {
1159 return ExternalReference(HandleScope::current_limit_address(isolate));
1157 } 1160 }
1158 1161
1159 1162
1160 ExternalReference ExternalReference::scheduled_exception_address( 1163 ExternalReference ExternalReference::scheduled_exception_address(
1161 Isolate* isolate) { 1164 Isolate* isolate) {
1162 return ExternalReference(isolate->scheduled_exception_address()); 1165 return ExternalReference(isolate->scheduled_exception_address());
1163 } 1166 }
1164 1167
1165 1168
1166 ExternalReference ExternalReference::address_of_pending_message_obj( 1169 ExternalReference ExternalReference::address_of_pending_message_obj(
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1570 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1568 state_.written_position = state_.current_position; 1571 state_.written_position = state_.current_position;
1569 written = true; 1572 written = true;
1570 } 1573 }
1571 1574
1572 // Return whether something was written. 1575 // Return whether something was written.
1573 return written; 1576 return written;
1574 } 1577 }
1575 1578
1576 } } // namespace v8::internal 1579 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/bootstrapper.cc » ('j') | src/code-stubs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698