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

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

Issue 546803003: Update ObjectToString to Harmony-draft algorithm (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use intern'd strings instead of creating vectors Created 6 years, 2 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
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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 V(strict_compare_ic_string, "===") \ 317 V(strict_compare_ic_string, "===") \
318 V(infinity_string, "Infinity") \ 318 V(infinity_string, "Infinity") \
319 V(minus_infinity_string, "-Infinity") \ 319 V(minus_infinity_string, "-Infinity") \
320 V(query_colon_string, "(?:)") \ 320 V(query_colon_string, "(?:)") \
321 V(Generator_string, "Generator") \ 321 V(Generator_string, "Generator") \
322 V(throw_string, "throw") \ 322 V(throw_string, "throw") \
323 V(done_string, "done") \ 323 V(done_string, "done") \
324 V(value_string, "value") \ 324 V(value_string, "value") \
325 V(next_string, "next") \ 325 V(next_string, "next") \
326 V(byte_length_string, "byteLength") \ 326 V(byte_length_string, "byteLength") \
327 V(byte_offset_string, "byteOffset") 327 V(byte_offset_string, "byteOffset") \
328 V(Array_string, "Array") \
329 V(Error_string, "Error") \
330 V(RegExp_string, "RegExp")
328 331
329 #define PRIVATE_SYMBOL_LIST(V) \ 332 #define PRIVATE_SYMBOL_LIST(V) \
330 V(frozen_symbol) \ 333 V(frozen_symbol) \
331 V(nonexistent_symbol) \ 334 V(nonexistent_symbol) \
332 V(elements_transition_symbol) \ 335 V(elements_transition_symbol) \
333 V(observed_symbol) \ 336 V(observed_symbol) \
334 V(uninitialized_symbol) \ 337 V(uninitialized_symbol) \
335 V(megamorphic_symbol) \ 338 V(megamorphic_symbol) \
336 V(premonomorphic_symbol) \ 339 V(premonomorphic_symbol) \
337 V(generic_symbol) \ 340 V(generic_symbol) \
(...skipping 2202 matching lines...) Expand 10 before | Expand all | Expand 10 after
2540 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2543 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2541 2544
2542 private: 2545 private:
2543 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2546 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2544 }; 2547 };
2545 #endif // DEBUG 2548 #endif // DEBUG
2546 } 2549 }
2547 } // namespace v8::internal 2550 } // namespace v8::internal
2548 2551
2549 #endif // V8_HEAP_HEAP_H_ 2552 #endif // V8_HEAP_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698