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

Side by Side Diff: src/isolate.h

Issue 10831126: Take advantage of batched results when matching global regexp. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments and formatting changes. Created 8 years, 4 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
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/jsregexp.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 V(CommentStatistic, paged_space_comments_statistics, \ 301 V(CommentStatistic, paged_space_comments_statistics, \
302 CommentStatistic::kMaxComments + 1) 302 CommentStatistic::kMaxComments + 1)
303 #else 303 #else
304 304
305 #define ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 305 #define ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
306 306
307 #endif 307 #endif
308 308
309 #define ISOLATE_INIT_ARRAY_LIST(V) \ 309 #define ISOLATE_INIT_ARRAY_LIST(V) \
310 /* SerializerDeserializer state. */ \ 310 /* SerializerDeserializer state. */ \
311 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ 311 V(int32_t, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \
312 V(int, bad_char_shift_table, kUC16AlphabetSize) \ 312 V(int, bad_char_shift_table, kUC16AlphabetSize) \
313 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ 313 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \
314 V(int, suffix_table, (kBMMaxShift + 1)) \ 314 V(int, suffix_table, (kBMMaxShift + 1)) \
315 V(uint32_t, private_random_seed, 2) \ 315 V(uint32_t, private_random_seed, 2) \
316 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 316 ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
317 317
318 typedef List<HeapObject*, PreallocatedStorageAllocationPolicy> DebugObjectCache; 318 typedef List<HeapObject*, PreallocatedStorageAllocationPolicy> DebugObjectCache;
319 319
320 #define ISOLATE_INIT_LIST(V) \ 320 #define ISOLATE_INIT_LIST(V) \
321 /* SerializerDeserializer state. */ \ 321 /* SerializerDeserializer state. */ \
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 1442
1443 // Mark the global context with out of memory. 1443 // Mark the global context with out of memory.
1444 inline void Context::mark_out_of_memory() { 1444 inline void Context::mark_out_of_memory() {
1445 global_context()->set_out_of_memory(HEAP->true_value()); 1445 global_context()->set_out_of_memory(HEAP->true_value());
1446 } 1446 }
1447 1447
1448 1448
1449 } } // namespace v8::internal 1449 } } // namespace v8::internal
1450 1450
1451 #endif // V8_ISOLATE_H_ 1451 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/jsregexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698