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

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

Issue 717123002: Leaving a generator via an exception causes it to close (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove state checking from full-codegen and associated runtime functions Created 6 years, 1 month 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
« no previous file with comments | « src/messages.js ('k') | src/runtime/runtime-generator.cc » ('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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 F(NumberToStringSkipCache, 1, 1) \ 470 F(NumberToStringSkipCache, 1, 1) \
471 \ 471 \
472 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ 472 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \
473 F(NewSloppyArguments, 3, 1) \ 473 F(NewSloppyArguments, 3, 1) \
474 F(NewStrictArguments, 3, 1) \ 474 F(NewStrictArguments, 3, 1) \
475 \ 475 \
476 /* Harmony generators */ \ 476 /* Harmony generators */ \
477 F(CreateJSGeneratorObject, 0, 1) \ 477 F(CreateJSGeneratorObject, 0, 1) \
478 F(SuspendJSGeneratorObject, 1, 1) \ 478 F(SuspendJSGeneratorObject, 1, 1) \
479 F(ResumeJSGeneratorObject, 3, 1) \ 479 F(ResumeJSGeneratorObject, 3, 1) \
480 F(ThrowGeneratorStateError, 1, 1) \ 480 F(GeneratorClose, 1, 1) \
481 \ 481 \
482 /* Arrays */ \ 482 /* Arrays */ \
483 F(ArrayConstructor, -1, 1) \ 483 F(ArrayConstructor, -1, 1) \
484 F(InternalArrayConstructor, -1, 1) \ 484 F(InternalArrayConstructor, -1, 1) \
485 \ 485 \
486 /* Literals */ \ 486 /* Literals */ \
487 F(MaterializeRegExpLiteral, 4, 1) \ 487 F(MaterializeRegExpLiteral, 4, 1) \
488 F(CreateObjectLiteral, 4, 1) \ 488 F(CreateObjectLiteral, 4, 1) \
489 F(CreateArrayLiteral, 4, 1) \ 489 F(CreateArrayLiteral, 4, 1) \
490 F(CreateArrayLiteralStubBailout, 3, 1) \ 490 F(CreateArrayLiteralStubBailout, 3, 1) \
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 888 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
889 889
890 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 890 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
891 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 891 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
892 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 892 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
893 893
894 } // namespace internal 894 } // namespace internal
895 } // namespace v8 895 } // namespace v8
896 896
897 #endif // V8_RUNTIME_RUNTIME_H_ 897 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/runtime/runtime-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698