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

Side by Side Diff: src/assembler.cc

Issue 2424433002: [ic] Delete old KeyedLoadIC code (Closed)
Patch Set: fix failing test Created 4 years, 2 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/builtins/builtins.h » ('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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 Redirect(isolate, FUNCTION_ADDR(Logger::EnterExternal))); 1209 Redirect(isolate, FUNCTION_ADDR(Logger::EnterExternal)));
1210 } 1210 }
1211 1211
1212 1212
1213 ExternalReference ExternalReference::log_leave_external_function( 1213 ExternalReference ExternalReference::log_leave_external_function(
1214 Isolate* isolate) { 1214 Isolate* isolate) {
1215 return ExternalReference( 1215 return ExternalReference(
1216 Redirect(isolate, FUNCTION_ADDR(Logger::LeaveExternal))); 1216 Redirect(isolate, FUNCTION_ADDR(Logger::LeaveExternal)));
1217 } 1217 }
1218 1218
1219
1220 ExternalReference ExternalReference::keyed_lookup_cache_keys(Isolate* isolate) {
1221 return ExternalReference(isolate->keyed_lookup_cache()->keys_address());
1222 }
1223
1224
1225 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets(
1226 Isolate* isolate) {
1227 return ExternalReference(
1228 isolate->keyed_lookup_cache()->field_offsets_address());
1229 }
1230
1231
1232 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) { 1219 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) {
1233 return ExternalReference(isolate->heap()->roots_array_start()); 1220 return ExternalReference(isolate->heap()->roots_array_start());
1234 } 1221 }
1235 1222
1236 1223
1237 ExternalReference ExternalReference::allocation_sites_list_address( 1224 ExternalReference ExternalReference::allocation_sites_list_address(
1238 Isolate* isolate) { 1225 Isolate* isolate) {
1239 return ExternalReference(isolate->heap()->allocation_sites_list_address()); 1226 return ExternalReference(isolate->heap()->allocation_sites_list_address());
1240 } 1227 }
1241 1228
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 1926
1940 1927
1941 void Assembler::DataAlign(int m) { 1928 void Assembler::DataAlign(int m) {
1942 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1929 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1943 while ((pc_offset() & (m - 1)) != 0) { 1930 while ((pc_offset() & (m - 1)) != 0) {
1944 db(0); 1931 db(0);
1945 } 1932 }
1946 } 1933 }
1947 } // namespace internal 1934 } // namespace internal
1948 } // namespace v8 1935 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698