Index: src/runtime/runtime-forin.cc |
diff --git a/src/runtime/runtime-forin.cc b/src/runtime/runtime-forin.cc |
index 0d624e97d65844158dc32eebc52639fd134e1d78..bd37cdcf2f794915b596bba91303e05fb0b2e321 100644 |
--- a/src/runtime/runtime-forin.cc |
+++ b/src/runtime/runtime-forin.cc |
@@ -140,17 +140,6 @@ RUNTIME_FUNCTION_RETURN_TRIPLE(Runtime_ForInPrepare) { |
return MakeTriple(*cache_type, *cache_array, Smi::FromInt(cache_length)); |
} |
- |
-RUNTIME_FUNCTION(Runtime_ForInDone) { |
- SealHandleScope scope(isolate); |
- DCHECK_EQ(2, args.length()); |
- CONVERT_SMI_ARG_CHECKED(index, 0); |
- CONVERT_SMI_ARG_CHECKED(length, 1); |
- DCHECK_LE(0, index); |
- DCHECK_LE(index, length); |
- return isolate->heap()->ToBoolean(index == length); |
-} |
- |
RUNTIME_FUNCTION(Runtime_ForInHasProperty) { |
HandleScope scope(isolate); |
DCHECK_EQ(2, args.length()); |
@@ -188,15 +177,5 @@ RUNTIME_FUNCTION(Runtime_ForInNext) { |
HasEnumerableProperty(isolate, receiver, key)); |
} |
- |
-RUNTIME_FUNCTION(Runtime_ForInStep) { |
- SealHandleScope scope(isolate); |
- DCHECK_EQ(1, args.length()); |
- CONVERT_SMI_ARG_CHECKED(index, 0); |
- DCHECK_LE(0, index); |
- DCHECK_LT(index, Smi::kMaxValue); |
- return Smi::FromInt(index + 1); |
-} |
- |
} // namespace internal |
} // namespace v8 |