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

Side by Side Diff: src/heap/heap.h

Issue 1309243003: ES6: Array.prototype.slice and friends should use ToLength instead of ToUint32 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 V(source_mapping_url_string, "source_mapping_url") \ 253 V(source_mapping_url_string, "source_mapping_url") \
254 V(this_string, "this") \ 254 V(this_string, "this") \
255 V(global_string, "global") \ 255 V(global_string, "global") \
256 V(ignore_case_string, "ignoreCase") \ 256 V(ignore_case_string, "ignoreCase") \
257 V(multiline_string, "multiline") \ 257 V(multiline_string, "multiline") \
258 V(sticky_string, "sticky") \ 258 V(sticky_string, "sticky") \
259 V(unicode_string, "unicode") \ 259 V(unicode_string, "unicode") \
260 V(harmony_regexps_string, "harmony_regexps") \ 260 V(harmony_regexps_string, "harmony_regexps") \
261 V(harmony_tostring_string, "harmony_tostring") \ 261 V(harmony_tostring_string, "harmony_tostring") \
262 V(harmony_unicode_regexps_string, "harmony_unicode_regexps") \ 262 V(harmony_unicode_regexps_string, "harmony_unicode_regexps") \
263 V(harmony_tolength_string, "harmony_tolength") \
263 V(input_string, "input") \ 264 V(input_string, "input") \
264 V(index_string, "index") \ 265 V(index_string, "index") \
265 V(last_index_string, "lastIndex") \ 266 V(last_index_string, "lastIndex") \
266 V(object_string, "object") \ 267 V(object_string, "object") \
267 V(prototype_string, "prototype") \ 268 V(prototype_string, "prototype") \
268 V(string_string, "string") \ 269 V(string_string, "string") \
269 V(String_string, "String") \ 270 V(String_string, "String") \
270 V(symbol_string, "symbol") \ 271 V(symbol_string, "symbol") \
271 V(Symbol_string, "Symbol") \ 272 V(Symbol_string, "Symbol") \
272 V(Map_string, "Map") \ 273 V(Map_string, "Map") \
(...skipping 2523 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2797 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2797 2798
2798 private: 2799 private:
2799 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2800 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2800 }; 2801 };
2801 #endif // DEBUG 2802 #endif // DEBUG
2802 } 2803 }
2803 } // namespace v8::internal 2804 } // namespace v8::internal
2804 2805
2805 #endif // V8_HEAP_HEAP_H_ 2806 #endif // V8_HEAP_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698