Index: src/mips/codegen-mips.h |
diff --git a/src/mips/codegen-mips.h b/src/mips/codegen-mips.h |
index a8de9c8610fbe079371a8065a7cf561785518ba7..b020d805757a4e122a46099cd631babed17a88ee 100644 |
--- a/src/mips/codegen-mips.h |
+++ b/src/mips/codegen-mips.h |
@@ -71,21 +71,6 @@ class CodeGenerator: public AstVisitor { |
int pos, |
bool right_here = false); |
- // Constants related to patching of inlined load/store. |
- static int GetInlinedKeyedLoadInstructionsAfterPatch() { |
- // This is in correlation with the padding in MacroAssembler::Abort. |
- return FLAG_debug_code ? 45 : 20; |
- } |
- |
- static const int kInlinedKeyedStoreInstructionsAfterPatch = 13; |
- |
- static int GetInlinedNamedStoreInstructionsAfterPatch() { |
- ASSERT(Isolate::Current()->inlined_write_barrier_size() != -1); |
- // Magic number 5: instruction count after patched map load: |
- // li: 2 (liu & ori), Branch : 2 (bne & nop), sw : 1 |
- return Isolate::Current()->inlined_write_barrier_size() + 5; |
- } |
- |
private: |
DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
}; |