Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 7a2d46c4b4315a96ad86ef7cb8c79458fef66b9b..846cdbc685f52de3c8c6fe9cdbf1dc79a911395c 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -3116,8 +3116,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ResumeJSGeneratorObject) { |
ASSERT_EQ(frame->function(), generator_object->function()); |
ASSERT(frame->function()->is_compiled()); |
- STATIC_ASSERT(JSGeneratorObject::kGeneratorExecuting <= 0); |
- STATIC_ASSERT(JSGeneratorObject::kGeneratorClosed <= 0); |
+ STATIC_ASSERT(JSGeneratorObject::kGeneratorExecuting < 0); |
+ STATIC_ASSERT(JSGeneratorObject::kGeneratorClosed == 0); |
Address pc = generator_object->function()->code()->instruction_start(); |
int offset = generator_object->continuation(); |