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

Side by Side Diff: src/assembler.cc

Issue 1632913003: [heap] Move to page lookups for SemiSpace, NewSpace, and Heap containment methods (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mips ports Created 4 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
« no previous file with comments | « src/assembler.h ('k') | src/frames.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { 1263 ExternalReference ExternalReference::new_space_start(Isolate* isolate) {
1264 return ExternalReference(isolate->heap()->NewSpaceStart()); 1264 return ExternalReference(isolate->heap()->NewSpaceStart());
1265 } 1265 }
1266 1266
1267 1267
1268 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { 1268 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) {
1269 return ExternalReference(isolate->heap()->store_buffer_top_address()); 1269 return ExternalReference(isolate->heap()->store_buffer_top_address());
1270 } 1270 }
1271 1271
1272 1272
1273 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) {
1274 return ExternalReference(reinterpret_cast<Address>(
1275 isolate->heap()->NewSpaceMask()));
1276 }
1277
1278
1279 ExternalReference ExternalReference::new_space_allocation_top_address( 1273 ExternalReference ExternalReference::new_space_allocation_top_address(
1280 Isolate* isolate) { 1274 Isolate* isolate) {
1281 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); 1275 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress());
1282 } 1276 }
1283 1277
1284 1278
1285 ExternalReference ExternalReference::new_space_allocation_limit_address( 1279 ExternalReference ExternalReference::new_space_allocation_limit_address(
1286 Isolate* isolate) { 1280 Isolate* isolate) {
1287 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress()); 1281 return ExternalReference(isolate->heap()->NewSpaceAllocationLimitAddress());
1288 } 1282 }
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 1933
1940 1934
1941 void Assembler::DataAlign(int m) { 1935 void Assembler::DataAlign(int m) {
1942 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1936 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1943 while ((pc_offset() & (m - 1)) != 0) { 1937 while ((pc_offset() & (m - 1)) != 0) {
1944 db(0); 1938 db(0);
1945 } 1939 }
1946 } 1940 }
1947 } // namespace internal 1941 } // namespace internal
1948 } // namespace v8 1942 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698