From c433b4db20fff036041a4f829658412ce5b63ff1 Mon Sep 17 00:00:00 2001 From: "lrn@chromium.org" Date: Tue, 27 Oct 2009 13:26:22 +0000 Subject: [PATCH] Fix bug in test on Windows. Review URL: http://codereview.chromium.org/335044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3145 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-log-stack-tracer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cctest/test-log-stack-tracer.cc b/test/cctest/test-log-stack-tracer.cc index 9905db82d8..39f90647e3 100644 --- a/test/cctest/test-log-stack-tracer.cc +++ b/test/cctest/test-log-stack-tracer.cc @@ -336,7 +336,7 @@ static void CFuncDoTrace(byte dummy_parameter) { #elif defined _MSC_VER // Approximate a frame pointer address. We compile without base pointers, // so we can't trust ebp/rbp. - fp = &dummy_parameter - 2 * kPointerSize; + fp = &dummy_parameter - 2 * sizeof(void*); // NOLINT #else #error Unexpected platform. #endif