Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index b1187e5634f7ccf0f8aec563b6205f896a712d87..61e44469902722c1590e09475195bbce617078c5 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -4331,12 +4331,12 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
// don't want to spend too much time on it now. |
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; |
__ B(&suspend); |
@@ -4371,7 +4371,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::FINAL: { |
+ case Yield::kFinal: { |
VisitForAccumulatorValue(expr->generator_object()); |
__ Mov(x1, Smi::FromInt(JSGeneratorObject::kGeneratorClosed)); |
__ Str(x1, FieldMemOperand(result_register(), |
@@ -4383,7 +4383,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::DELEGATING: { |
+ case Yield::kDelegating: { |
VisitForStackValue(expr->generator_object()); |
// Initial stack layout is as follows: |