Index: src/builtins/builtins-utils.h |
diff --git a/src/builtins/builtins-utils.h b/src/builtins/builtins-utils.h |
index 7a2424deb6ea86f5671809038a4d9ff2af06b6ec..b2f268e29f92a71fa80178fbe05e0775b4efd24d 100644 |
--- a/src/builtins/builtins-utils.h |
+++ b/src/builtins/builtins-utils.h |
@@ -14,10 +14,6 @@ |
namespace v8 { |
namespace internal { |
-namespace compiler { |
-class CodeAssemblerState; |
-} |
- |
// Arguments object passed to C++ builtins. |
class BuiltinArguments : public Arguments { |
public: |
@@ -107,31 +103,6 @@ class BuiltinArguments : public Arguments { |
Isolate* isolate) |
// ---------------------------------------------------------------------------- |
-// Support macro for defining builtins with Turbofan. |
-// ---------------------------------------------------------------------------- |
-// |
-// A builtin function is defined by writing: |
-// |
-// TF_BUILTIN(name, code_assember_base_class) { |
-// ... |
-// } |
-// |
-// In the body of the builtin function the arguments can be accessed |
-// as "Parameter(n)". |
-#define TF_BUILTIN(Name, AssemblerBase) \ |
- class Name##Assembler : public AssemblerBase { \ |
- public: \ |
- explicit Name##Assembler(compiler::CodeAssemblerState* state) \ |
- : AssemblerBase(state) {} \ |
- void Generate##Name##Impl(); \ |
- }; \ |
- void Builtins::Generate_##Name(compiler::CodeAssemblerState* state) { \ |
- Name##Assembler assembler(state); \ |
- assembler.Generate##Name##Impl(); \ |
- } \ |
- void Name##Assembler::Generate##Name##Impl() |
- |
-// ---------------------------------------------------------------------------- |
#define CHECK_RECEIVER(Type, name, method) \ |
if (!args.receiver()->Is##Type()) { \ |