Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index f62e8b0520e1961d3d2105164947c4024fffe83f..b73006a17d99136d69d5b8a782ae3134fdd20675 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1986,12 +1986,12 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
VisitForStackValue(expr->expression()); |
switch (expr->yield_kind()) { |
- case Yield::kSuspend: |
+ case Yield::SUSPEND: |
// Pop value from top-of-stack slot; box result into result register. |
EmitCreateIteratorResult(false); |
__ push(result_register()); |
// Fall through. |
- case Yield::kInitial: { |
+ case Yield::INITIAL: { |
Label suspend, continuation, post_runtime, resume; |
__ jmp(&suspend); |
@@ -2023,7 +2023,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::kFinal: { |
+ case Yield::FINAL: { |
VisitForAccumulatorValue(expr->generator_object()); |
__ mov(r1, Operand(Smi::FromInt(JSGeneratorObject::kGeneratorClosed))); |
__ str(r1, FieldMemOperand(result_register(), |
@@ -2035,7 +2035,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::kDelegating: { |
+ case Yield::DELEGATING: { |
VisitForStackValue(expr->generator_object()); |
// Initial stack layout is as follows: |