Index: test/cctest/compiler/code-assembler-tester.h |
diff --git a/test/cctest/compiler/code-assembler-tester.h b/test/cctest/compiler/code-assembler-tester.h |
index 4a4a68b5c7b566de38e8d857b625d060024e4b57..f49e8c55c9c9f7ba2fbeb35f02f206ca07c6f9f8 100644 |
--- a/test/cctest/compiler/code-assembler-tester.h |
+++ b/test/cctest/compiler/code-assembler-tester.h |
@@ -41,7 +41,7 @@ class CodeAssemblerTester { |
Handle<Code> GenerateCode() { return CodeAssembler::GenerateCode(&state_); } |
Handle<Code> GenerateCodeCloseAndEscape() { |
- return scope_.CloseAndEscape(CodeAssembler::GenerateCode(&state_)); |
+ return scope_.CloseAndEscape(GenerateCode()); |
} |
private: |