Index: src/ia32/codegen-ia32.h |
diff --git a/src/ia32/codegen-ia32.h b/src/ia32/codegen-ia32.h |
index acd651b4abf52629501397923f378dbf14313aa0..010c05eea03e26ad0064516cfa8ba04876526f22 100644 |
--- a/src/ia32/codegen-ia32.h |
+++ b/src/ia32/codegen-ia32.h |
@@ -343,15 +343,6 @@ class CodeGenerator: public AstVisitor { |
bool in_spilled_code() const { return in_spilled_code_; } |
void set_in_spilled_code(bool flag) { in_spilled_code_ = flag; } |
- // Return a position of the element at |index_as_smi| + |additional_offset| |
- // in FixedArray pointer to which is held in |array|. |index_as_smi| is Smi. |
- static Operand FixedArrayElementOperand(Register array, |
- Register index_as_smi, |
- int additional_offset = 0) { |
- int offset = FixedArray::kHeaderSize + additional_offset * kPointerSize; |
- return FieldOperand(array, index_as_smi, times_half_pointer_size, offset); |
- } |
- |
private: |
// Type of a member function that generates inline code for a native function. |
typedef void (CodeGenerator::*InlineFunctionGenerator) |