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

Unified Diff: src/objects.h

Issue 1865833002: [generators] Decouple generator resume from fullcodegen. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 01d8f6b57969271e720b6ca0e63220142fc9b843..ba54fc94b368e5ef02da22d59d23721b30ceb7ed 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6648,9 +6648,6 @@ class Script: public Struct {
enum BuiltinFunctionId {
kArrayCode,
- kGeneratorObjectNext,
- kGeneratorObjectReturn,
- kGeneratorObjectThrow,
#define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
k##name,
FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
@@ -7401,7 +7398,7 @@ class JSGeneratorObject: public JSObject {
static const int kSize = kOperandStackOffset + kPointerSize;
// Resume mode, for use by runtime functions.
- enum ResumeMode { NEXT, RETURN, THROW };
+ enum ResumeMode { kNext, kReturn, kThrow };
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(JSGeneratorObject);

Powered by Google App Engine
This is Rietveld 408576698