Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index 15a01f23a873018ff4be5588b44a198945473490..8ba4b0cc101b07c5be60e7842c8875ebfe41517b 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -2,16 +2,20 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "src/compiler/instruction.h" |
- |
#include "src/compiler/common-operator.h" |
#include "src/compiler/generic-node-inl.h" |
#include "src/compiler/graph.h" |
+#include "src/compiler/instruction.h" |
+#include "src/macro-assembler.h" |
namespace v8 { |
namespace internal { |
namespace compiler { |
+STATIC_ASSERT(kMaxGeneralRegisters >= Register::kNumRegisters); |
+STATIC_ASSERT(kMaxDoubleRegisters >= DoubleRegister::kMaxNumRegisters); |
+ |
+ |
std::ostream& operator<<(std::ostream& os, const InstructionOperand& op) { |
switch (op.kind()) { |
case InstructionOperand::INVALID: |