Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: src/code-factory.h

Issue 2752213002: [csa] Add CSA::CallBuiltin and Builtins::CallableFor (Closed)
Patch Set: Remove unused variable again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« src/builtins/builtins.cc ('K') | « src/callable.h ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698