Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 65f74e35604ce9aa9d27cb821a2a6e6c24996c2f..dea697c4c29da2edb95ba3585e7a2653271242b2 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -251,6 +251,11 @@ void FullCodeGenerator::Generate(CompilationInfo* info) { |
} |
+void FullCodeGenerator::ClearAccumulator() { |
+ __ Set(eax, Immediate(Smi::FromInt(0))); |
+} |
+ |
+ |
void FullCodeGenerator::EmitStackCheck(IterationStatement* stmt) { |
Comment cmnt(masm_, "[ Stack check"); |
NearLabel ok; |