Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index df0ae93fefab2e41874bd907587f7d91f601ac67..5431412c1536235e5a57a60e78a52f61dbf0e21a 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -24,10 +24,6 @@ namespace interpreter { |
class BytecodeLabel; |
class Register; |
-// TODO(rmcilroy): Unify this with CreateArgumentsParameters::Type in Turbofan |
-// when rest parameters implementation has settled down. |
rmcilroy
2016/02/08 09:13:18
Thanks for removing this!
|
-enum class CreateArgumentsType { kMappedArguments, kUnmappedArguments }; |
- |
class BytecodeArrayBuilder final : public ZoneObject, private RegisterMover { |
public: |
BytecodeArrayBuilder(Isolate* isolate, Zone* zone, int parameter_count, |
@@ -152,9 +148,6 @@ class BytecodeArrayBuilder final : public ZoneObject, private RegisterMover { |
// Create a new arguments object in the accumulator. |
BytecodeArrayBuilder& CreateArguments(CreateArgumentsType type); |
- // Create a new rest arguments object starting at |index| in the accumulator. |
- BytecodeArrayBuilder& CreateRestArguments(int index); |
- |
// Literals creation. Constant elements should be in the accumulator. |
BytecodeArrayBuilder& CreateRegExpLiteral(Handle<String> pattern, |
int literal_index, int flags); |