Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index d119111138a2f40eb7036f7321be2102be003429..67066def4c6fd36310a3b4d5a8555479bfa5f79e 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3355,6 +3355,12 @@ void LCodeGen::DoLoadFunctionPrototype(LLoadFunctionPrototype* instr) { |
} |
+void LCodeGen::DoLoadRoot(LLoadRoot* instr) { |
+ Register result = ToRegister(instr->result()); |
+ __ LoadRoot(result, instr->index()); |
+} |
+ |
+ |
void LCodeGen::DoLoadExternalArrayPointer( |
LLoadExternalArrayPointer* instr) { |
Register result = ToRegister(instr->result()); |