Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 2655cf59f726c06ed698bc77ae34c7438f567376..ee901f85c4986ec482695355233774d08266b2a4 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1938,12 +1938,12 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
VisitForStackValue(expr->expression()); |
switch (expr->yield_kind()) { |
- case Yield::SUSPEND: |
+ case Yield::kSuspend: |
// Pop value from top-of-stack slot; box result into result register. |
EmitCreateIteratorResult(false); |
__ Push(result_register()); |
// Fall through. |
- case Yield::INITIAL: { |
+ case Yield::kInitial: { |
Label suspend, continuation, post_runtime, resume; |
__ jmp(&suspend); |
@@ -1977,7 +1977,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::FINAL: { |
+ case Yield::kFinal: { |
VisitForAccumulatorValue(expr->generator_object()); |
__ Move(FieldOperand(result_register(), |
JSGeneratorObject::kContinuationOffset), |
@@ -1989,7 +1989,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::DELEGATING: { |
+ case Yield::kDelegating: { |
VisitForStackValue(expr->generator_object()); |
// Initial stack layout is as follows: |