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

Side by Side Diff: src/assembler.cc

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: CheckIf() for ArrayBufferWasNeutered() rather than a branch, which hopefully can be eliminated, and… Created 4 years, 1 month 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
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 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 ExternalReference ExternalReference::log_leave_external_function( 1211 ExternalReference ExternalReference::log_leave_external_function(
1212 Isolate* isolate) { 1212 Isolate* isolate) {
1213 return ExternalReference( 1213 return ExternalReference(
1214 Redirect(isolate, FUNCTION_ADDR(Logger::LeaveExternal))); 1214 Redirect(isolate, FUNCTION_ADDR(Logger::LeaveExternal)));
1215 } 1215 }
1216 1216
1217 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) { 1217 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) {
1218 return ExternalReference(isolate->heap()->roots_array_start()); 1218 return ExternalReference(isolate->heap()->roots_array_start());
1219 } 1219 }
1220 1220
1221 ExternalReference ExternalReference::native_contexts_list_address(
1222 Isolate* isolate) {
1223 return ExternalReference(isolate->heap()->native_contexts_list_address());
1224 }
1221 1225
1222 ExternalReference ExternalReference::allocation_sites_list_address( 1226 ExternalReference ExternalReference::allocation_sites_list_address(
1223 Isolate* isolate) { 1227 Isolate* isolate) {
1224 return ExternalReference(isolate->heap()->allocation_sites_list_address()); 1228 return ExternalReference(isolate->heap()->allocation_sites_list_address());
1225 } 1229 }
1226 1230
1227 1231
1228 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) { 1232 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) {
1229 return ExternalReference(isolate->stack_guard()->address_of_jslimit()); 1233 return ExternalReference(isolate->stack_guard()->address_of_jslimit());
1230 } 1234 }
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 1928
1925 1929
1926 void Assembler::DataAlign(int m) { 1930 void Assembler::DataAlign(int m) {
1927 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1931 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1928 while ((pc_offset() & (m - 1)) != 0) { 1932 while ((pc_offset() & (m - 1)) != 0) {
1929 db(0); 1933 db(0);
1930 } 1934 }
1931 } 1935 }
1932 } // namespace internal 1936 } // namespace internal
1933 } // namespace v8 1937 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/bootstrapper.cc » ('j') | src/builtins/builtins-array.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698