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

Side by Side Diff: src/heap.h

Issue 14262004: Generator objects have [[Class]] === "Generator" (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Address review comments Created 7 years, 8 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 // 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 V(identity_hash_string, "v8::IdentityHash") \ 261 V(identity_hash_string, "v8::IdentityHash") \
262 V(closure_string, "(closure)") \ 262 V(closure_string, "(closure)") \
263 V(use_strict_string, "use strict") \ 263 V(use_strict_string, "use strict") \
264 V(dot_string, ".") \ 264 V(dot_string, ".") \
265 V(anonymous_function_string, "(anonymous function)") \ 265 V(anonymous_function_string, "(anonymous function)") \
266 V(compare_ic_string, "==") \ 266 V(compare_ic_string, "==") \
267 V(strict_compare_ic_string, "===") \ 267 V(strict_compare_ic_string, "===") \
268 V(infinity_string, "Infinity") \ 268 V(infinity_string, "Infinity") \
269 V(minus_infinity_string, "-Infinity") \ 269 V(minus_infinity_string, "-Infinity") \
270 V(hidden_stack_trace_string, "v8::hidden_stack_trace") \ 270 V(hidden_stack_trace_string, "v8::hidden_stack_trace") \
271 V(query_colon_string, "(?:)") 271 V(query_colon_string, "(?:)") \
272 V(Generator_string, "Generator")
272 273
273 // Forward declarations. 274 // Forward declarations.
274 class GCTracer; 275 class GCTracer;
275 class HeapStats; 276 class HeapStats;
276 class Isolate; 277 class Isolate;
277 class WeakObjectRetainer; 278 class WeakObjectRetainer;
278 279
279 280
280 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 281 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
281 Object** pointer); 282 Object** pointer);
(...skipping 2768 matching lines...) Expand 10 before | Expand all | Expand 10 after
3050 AssertNoAllocation no_alloc; // i.e. no gc allowed. 3051 AssertNoAllocation no_alloc; // i.e. no gc allowed.
3051 3052
3052 private: 3053 private:
3053 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3054 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3054 }; 3055 };
3055 #endif // DEBUG 3056 #endif // DEBUG
3056 3057
3057 } } // namespace v8::internal 3058 } } // namespace v8::internal
3058 3059
3059 #endif // V8_HEAP_H_ 3060 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/generator.js ('k') | src/heap.cc » ('j') | test/mjsunit/harmony/generators-objects.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698