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

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: Use a TO_LENGTH macro instead of the ToLengthFlagged function 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 V(nan_string, "NaN") \ 252 V(nan_string, "NaN") \
253 V(source_string, "source") \ 253 V(source_string, "source") \
254 V(source_url_string, "source_url") \ 254 V(source_url_string, "source_url") \
255 V(source_mapping_url_string, "source_mapping_url") \ 255 V(source_mapping_url_string, "source_mapping_url") \
256 V(this_string, "this") \ 256 V(this_string, "this") \
257 V(global_string, "global") \ 257 V(global_string, "global") \
258 V(ignore_case_string, "ignoreCase") \ 258 V(ignore_case_string, "ignoreCase") \
259 V(multiline_string, "multiline") \ 259 V(multiline_string, "multiline") \
260 V(sticky_string, "sticky") \ 260 V(sticky_string, "sticky") \
261 V(unicode_string, "unicode") \ 261 V(unicode_string, "unicode") \
262 V(harmony_regexps_string, "harmony_regexps") \
263 V(harmony_tostring_string, "harmony_tostring") \
264 V(harmony_unicode_regexps_string, "harmony_unicode_regexps") \
Camillo Bruni 2015/09/09 13:51:16 Are these here on purpose?
aperez 2015/09/09 18:20:45 Ouch, leftovers from rebasing, I'll remove them.
265 V(harmony_tolength_string, "harmony_tolength") \
262 V(input_string, "input") \ 266 V(input_string, "input") \
263 V(index_string, "index") \ 267 V(index_string, "index") \
264 V(last_index_string, "lastIndex") \ 268 V(last_index_string, "lastIndex") \
265 V(object_string, "object") \ 269 V(object_string, "object") \
266 V(prototype_string, "prototype") \ 270 V(prototype_string, "prototype") \
267 V(string_string, "string") \ 271 V(string_string, "string") \
268 V(String_string, "String") \ 272 V(String_string, "String") \
269 V(symbol_string, "symbol") \ 273 V(symbol_string, "symbol") \
270 V(Symbol_string, "Symbol") \ 274 V(Symbol_string, "Symbol") \
271 V(Map_string, "Map") \ 275 V(Map_string, "Map") \
(...skipping 2434 matching lines...) Expand 10 before | Expand all | Expand 10 after
2706 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2710 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2707 2711
2708 private: 2712 private:
2709 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2713 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2710 }; 2714 };
2711 #endif // DEBUG 2715 #endif // DEBUG
2712 } 2716 }
2713 } // namespace v8::internal 2717 } // namespace v8::internal
2714 2718
2715 #endif // V8_HEAP_HEAP_H_ 2719 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/harmony-array.js ('k') | src/macros.py » ('j') | src/macros.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698