Index: src/code-factory.h |
diff --git a/src/code-factory.h b/src/code-factory.h |
index e54bd0761a0f26cefe2a708db67457349c55b036..0929444fa85e03aacc4c5c3ac4ebf6e12d4cee76 100644 |
--- a/src/code-factory.h |
+++ b/src/code-factory.h |
@@ -7,6 +7,7 @@ |
#include "src/allocation.h" |
#include "src/assembler.h" |
+#include "src/callable.h" |
#include "src/codegen.h" |
#include "src/globals.h" |
#include "src/interface-descriptors.h" |
@@ -14,20 +15,6 @@ |
namespace v8 { |
namespace internal { |
-// Associates a body of code with an interface descriptor. |
-class Callable final BASE_EMBEDDED { |
- public: |
- Callable(Handle<Code> code, CallInterfaceDescriptor descriptor) |
- : code_(code), descriptor_(descriptor) {} |
- |
- Handle<Code> code() const { return code_; } |
- CallInterfaceDescriptor descriptor() const { return descriptor_; } |
- |
- private: |
- const Handle<Code> code_; |
- const CallInterfaceDescriptor descriptor_; |
-}; |
- |
class V8_EXPORT_PRIVATE CodeFactory final { |
public: |
// CEntryStub has var-args semantics (all the arguments are passed on the |