Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 895af8f0ba51f1bb7b22e0ba86d230e79ae32972..b60502c9a5bffa8bdb23daa3ea27fe425b5ab123 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1993,12 +1993,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); |
@@ -2029,7 +2029,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::kFinal: { |
+ case Yield::FINAL: { |
VisitForAccumulatorValue(expr->generator_object()); |
__ li(a1, Operand(Smi::FromInt(JSGeneratorObject::kGeneratorClosed))); |
__ sw(a1, FieldMemOperand(result_register(), |
@@ -2041,7 +2041,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
break; |
} |
- case Yield::kDelegating: { |
+ case Yield::DELEGATING: { |
VisitForStackValue(expr->generator_object()); |
// Initial stack layout is as follows: |