Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 34663acb280f31a28aadc8935bd95d2d9af82cab..5a24a84933bfd862195bd5d9c84f3335b64b1b93 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -198,6 +198,11 @@ void FullCodeGenerator::Generate(CompilationInfo* info) { |
} |
+void FullCodeGenerator::ClearAccumulator() { |
+ __ xor(rax, rax); |
+} |
+ |
+ |
void FullCodeGenerator::EmitStackCheck(IterationStatement* stmt) { |
Comment cmnt(masm_, "[ Stack check"); |
NearLabel ok; |