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

Unified Diff: src/compiler/code-assembler.h

Issue 2246463002: [compiler] Remove compiler internals from CodeAssembler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/code-assembler.h
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h
index 101fc0b75b17c15f25367fc55a13b660306f8199..a8e27ec9292dc2a6e3eecabb75e1d0c81193fd66 100644
--- a/src/compiler/code-assembler.h
+++ b/src/compiler/code-assembler.h
@@ -29,12 +29,9 @@ class Zone;
namespace compiler {
class CallDescriptor;
-class Graph;
class Node;
-class Operator;
class RawMachineAssembler;
class RawMachineLabel;
-class Schedule;
#define CODE_ASSEMBLER_COMPARE_BINARY_OP_LIST(V) \
V(Float32Equal) \
@@ -207,14 +204,6 @@ class CodeAssembler {
CodeAssembler* assembler_;
};
- enum AllocationFlag : uint8_t {
- kNone = 0,
- kDoubleAlignment = 1,
- kPretenured = 1 << 1
- };
-
- typedef base::Flags<AllocationFlag> AllocationFlags;
-
// ===========================================================================
// Base Assembler
// ===========================================================================
@@ -433,11 +422,6 @@ class CodeAssembler {
Zone* zone() const;
protected:
- // Protected helpers which delegate to RawMachineAssembler.
- Graph* graph() const;
-
- Node* SmiShiftBitsConstant();
-
// Enables subclasses to perform operations before and after a call.
virtual void CallPrologue();
virtual void CallEpilogue();
@@ -458,8 +442,6 @@ class CodeAssembler {
DISALLOW_COPY_AND_ASSIGN(CodeAssembler);
};
-DEFINE_OPERATORS_FOR_FLAGS(CodeAssembler::AllocationFlags);
-
class CodeAssembler::Label {
public:
enum Type { kDeferred, kNonDeferred };
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698