Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 8721bcd9a69be4989e27775a9a0759979393dff7..a2e3e8c74ac526422549d4f19f6d33d550c90d15 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -882,40 +882,6 @@ void FullCodeGenerator::SetSourcePosition(int pos) { |
} |
-// Lookup table for code generators for special runtime calls which are |
-// generated inline. |
-#define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \ |
- &FullCodeGenerator::Emit##Name, |
- |
-const FullCodeGenerator::InlineFunctionGenerator |
- FullCodeGenerator::kInlineFunctionGenerators[] = { |
- INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_ADDRESS) |
- }; |
-#undef INLINE_FUNCTION_GENERATOR_ADDRESS |
- |
- |
-FullCodeGenerator::InlineFunctionGenerator |
-FullCodeGenerator::FindInlineFunctionGenerator(CallRuntime* expr) { |
- const Runtime::Function* function = expr->function(); |
- if (function == nullptr || function->intrinsic_type != Runtime::INLINE) { |
- return nullptr; |
- } |
- Runtime::FunctionId id = function->function_id; |
- if (id < Runtime::kFirstInlineFunction || Runtime::kLastInlineFunction < id) { |
- return nullptr; |
- } |
- return kInlineFunctionGenerators[static_cast<int>(id) - |
- static_cast<int>( |
- Runtime::kFirstInlineFunction)]; |
-} |
- |
- |
-void FullCodeGenerator::EmitInlineRuntimeCall( |
- CallRuntime* expr, InlineFunctionGenerator generator) { |
- ((*this).*(generator))(expr); |
-} |
- |
- |
void FullCodeGenerator::EmitGeneratorNext(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 2); |