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

Side by Side Diff: src/heap.h

Issue 10191001: Fast path for the regexp of bounded words. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/runtime.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 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 V(global_eval_symbol, "GlobalEval") \ 237 V(global_eval_symbol, "GlobalEval") \
238 V(identity_hash_symbol, "v8::IdentityHash") \ 238 V(identity_hash_symbol, "v8::IdentityHash") \
239 V(closure_symbol, "(closure)") \ 239 V(closure_symbol, "(closure)") \
240 V(use_strict, "use strict") \ 240 V(use_strict, "use strict") \
241 V(dot_symbol, ".") \ 241 V(dot_symbol, ".") \
242 V(anonymous_function_symbol, "(anonymous function)") \ 242 V(anonymous_function_symbol, "(anonymous function)") \
243 V(compare_ic_symbol, ".compare_ic") \ 243 V(compare_ic_symbol, ".compare_ic") \
244 V(infinity_symbol, "Infinity") \ 244 V(infinity_symbol, "Infinity") \
245 V(minus_infinity_symbol, "-Infinity") \ 245 V(minus_infinity_symbol, "-Infinity") \
246 V(hidden_stack_trace_symbol, "v8::hidden_stack_trace") \ 246 V(hidden_stack_trace_symbol, "v8::hidden_stack_trace") \
247 V(query_colon_symbol, "(?:)") 247 V(query_colon_symbol, "(?:)") \
248 V(bounded_word_regexp_symbol, "\\b\\w+\\b")
248 249
249 // Forward declarations. 250 // Forward declarations.
250 class GCTracer; 251 class GCTracer;
251 class HeapStats; 252 class HeapStats;
252 class Isolate; 253 class Isolate;
253 class WeakObjectRetainer; 254 class WeakObjectRetainer;
254 255
255 256
256 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 257 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
257 Object** pointer); 258 Object** pointer);
(...skipping 2456 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 AssertNoAllocation no_alloc; // i.e. no gc allowed. 2715 AssertNoAllocation no_alloc; // i.e. no gc allowed.
2715 2716
2716 private: 2717 private:
2717 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2718 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2718 }; 2719 };
2719 #endif // DEBUG || LIVE_OBJECT_LIST 2720 #endif // DEBUG || LIVE_OBJECT_LIST
2720 2721
2721 } } // namespace v8::internal 2722 } } // namespace v8::internal
2722 2723
2723 #endif // V8_HEAP_H_ 2724 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698