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

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

Issue 1281833002: Rewrite Error.prototype.toString in C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test case Created 5 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/isolate.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 // 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 V(home_object_symbol) \ 317 V(home_object_symbol) \
318 V(intl_initialized_marker_symbol) \ 318 V(intl_initialized_marker_symbol) \
319 V(intl_impl_object_symbol) \ 319 V(intl_impl_object_symbol) \
320 V(promise_debug_marker_symbol) \ 320 V(promise_debug_marker_symbol) \
321 V(promise_has_handler_symbol) \ 321 V(promise_has_handler_symbol) \
322 V(class_script_symbol) \ 322 V(class_script_symbol) \
323 V(class_start_position_symbol) \ 323 V(class_start_position_symbol) \
324 V(class_end_position_symbol) \ 324 V(class_end_position_symbol) \
325 V(error_start_pos_symbol) \ 325 V(error_start_pos_symbol) \
326 V(error_end_pos_symbol) \ 326 V(error_end_pos_symbol) \
327 V(error_script_symbol) 327 V(error_script_symbol) \
328 V(internal_error_symbol)
328 329
329 #define PUBLIC_SYMBOL_LIST(V) \ 330 #define PUBLIC_SYMBOL_LIST(V) \
330 V(has_instance_symbol, symbolHasInstance, Symbol.hasInstance) \ 331 V(has_instance_symbol, symbolHasInstance, Symbol.hasInstance) \
331 V(is_concat_spreadable_symbol, symbolIsConcatSpreadable, \ 332 V(is_concat_spreadable_symbol, symbolIsConcatSpreadable, \
332 Symbol.isConcatSpreadable) \ 333 Symbol.isConcatSpreadable) \
333 V(is_regexp_symbol, symbolIsRegExp, Symbol.isRegExp) \ 334 V(is_regexp_symbol, symbolIsRegExp, Symbol.isRegExp) \
334 V(iterator_symbol, symbolIterator, Symbol.iterator) \ 335 V(iterator_symbol, symbolIterator, Symbol.iterator) \
335 V(to_string_tag_symbol, symbolToStringTag, Symbol.toStringTag) \ 336 V(to_string_tag_symbol, symbolToStringTag, Symbol.toStringTag) \
336 V(unscopables_symbol, symbolUnscopables, Symbol.unscopables) 337 V(unscopables_symbol, symbolUnscopables, Symbol.unscopables)
337 338
(...skipping 2442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2780 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2781 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2781 2782
2782 private: 2783 private:
2783 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2784 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2784 }; 2785 };
2785 #endif // DEBUG 2786 #endif // DEBUG
2786 } 2787 }
2787 } // namespace v8::internal 2788 } // namespace v8::internal
2788 2789
2789 #endif // V8_HEAP_HEAP_H_ 2790 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698