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

Side by Side Diff: src/assembler.cc

Issue 2780173002: [regexp] Add support for dotAll flag (Closed)
Patch Set: Address comments Created 3 years, 8 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/bootstrapper.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 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 Isolate* isolate) { 1221 Isolate* isolate) {
1222 return ExternalReference(isolate->stack_guard()->address_of_real_jslimit()); 1222 return ExternalReference(isolate->stack_guard()->address_of_real_jslimit());
1223 } 1223 }
1224 1224
1225 1225
1226 ExternalReference ExternalReference::address_of_regexp_stack_limit( 1226 ExternalReference ExternalReference::address_of_regexp_stack_limit(
1227 Isolate* isolate) { 1227 Isolate* isolate) {
1228 return ExternalReference(isolate->regexp_stack()->limit_address()); 1228 return ExternalReference(isolate->regexp_stack()->limit_address());
1229 } 1229 }
1230 1230
1231 ExternalReference ExternalReference::address_of_regexp_dotall_flag(
1232 Isolate* isolate) {
1233 return ExternalReference(&FLAG_harmony_regexp_dotall);
1234 }
1235
1231 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { 1236 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) {
1232 return ExternalReference(isolate->heap()->store_buffer_top_address()); 1237 return ExternalReference(isolate->heap()->store_buffer_top_address());
1233 } 1238 }
1234 1239
1235 1240
1236 ExternalReference ExternalReference::new_space_allocation_top_address( 1241 ExternalReference ExternalReference::new_space_allocation_top_address(
1237 Isolate* isolate) { 1242 Isolate* isolate) {
1238 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress()); 1243 return ExternalReference(isolate->heap()->NewSpaceAllocationTopAddress());
1239 } 1244 }
1240 1245
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 1933
1929 1934
1930 void Assembler::DataAlign(int m) { 1935 void Assembler::DataAlign(int m) {
1931 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1936 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1932 while ((pc_offset() & (m - 1)) != 0) { 1937 while ((pc_offset() & (m - 1)) != 0) {
1933 db(0); 1938 db(0);
1934 } 1939 }
1935 } 1940 }
1936 } // namespace internal 1941 } // namespace internal
1937 } // namespace v8 1942 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698