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

Side by Side Diff: src/heap.h

Issue 1350003: Pre-create properties on JSRegExp objects (Closed)
Patch Set: Created 10 years, 9 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 V(result_symbol, ".result") \ 142 V(result_symbol, ".result") \
143 V(catch_var_symbol, ".catch-var") \ 143 V(catch_var_symbol, ".catch-var") \
144 V(empty_symbol, "") \ 144 V(empty_symbol, "") \
145 V(eval_symbol, "eval") \ 145 V(eval_symbol, "eval") \
146 V(function_symbol, "function") \ 146 V(function_symbol, "function") \
147 V(length_symbol, "length") \ 147 V(length_symbol, "length") \
148 V(name_symbol, "name") \ 148 V(name_symbol, "name") \
149 V(number_symbol, "number") \ 149 V(number_symbol, "number") \
150 V(Number_symbol, "Number") \ 150 V(Number_symbol, "Number") \
151 V(RegExp_symbol, "RegExp") \ 151 V(RegExp_symbol, "RegExp") \
152 V(source_symbol, "source") \
153 V(global_symbol, "global") \
154 V(ignore_case_symbol, "ignoreCase") \
155 V(multiline_symbol, "multiline") \
156 V(last_index_symbol, "lastIndex") \
152 V(object_symbol, "object") \ 157 V(object_symbol, "object") \
153 V(prototype_symbol, "prototype") \ 158 V(prototype_symbol, "prototype") \
154 V(string_symbol, "string") \ 159 V(string_symbol, "string") \
155 V(String_symbol, "String") \ 160 V(String_symbol, "String") \
156 V(Date_symbol, "Date") \ 161 V(Date_symbol, "Date") \
157 V(this_symbol, "this") \ 162 V(this_symbol, "this") \
158 V(to_string_symbol, "toString") \ 163 V(to_string_symbol, "toString") \
159 V(char_at_symbol, "CharAt") \ 164 V(char_at_symbol, "CharAt") \
160 V(undefined_symbol, "undefined") \ 165 V(undefined_symbol, "undefined") \
161 V(value_of_symbol, "valueOf") \ 166 V(value_of_symbol, "valueOf") \
(...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 1805
1801 // To speed up scavenge collections new space string are kept 1806 // To speed up scavenge collections new space string are kept
1802 // separate from old space strings. 1807 // separate from old space strings.
1803 static List<Object*> new_space_strings_; 1808 static List<Object*> new_space_strings_;
1804 static List<Object*> old_space_strings_; 1809 static List<Object*> old_space_strings_;
1805 }; 1810 };
1806 1811
1807 } } // namespace v8::internal 1812 } } // namespace v8::internal
1808 1813
1809 #endif // V8_HEAP_H_ 1814 #endif // V8_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698