Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index e4ccd75eff7b8bc66b887575ad8a4ea3290ab8c4..33b1bc9301a9dd6fa26f3829e6808c722630d599 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5711,11 +5711,6 @@ SMI_ACCESSORS(JSGeneratorObject, continuation, kContinuationOffset) |
ACCESSORS(JSGeneratorObject, operand_stack, FixedArray, kOperandStackOffset) |
SMI_ACCESSORS(JSGeneratorObject, stack_handler_index, kStackHandlerIndexOffset) |
-bool JSGeneratorObject::is_suspended() { |
- ASSERT_LT(kGeneratorExecuting, kGeneratorClosed); |
- ASSERT_EQ(kGeneratorClosed, 0); |
- return continuation() > 0; |
-} |
JSGeneratorObject* JSGeneratorObject::cast(Object* obj) { |
ASSERT(obj->IsJSGeneratorObject()); |