Commit c433b4db authored by lrn@chromium.org's avatar lrn@chromium.org

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
parent 36159570
...@@ -336,7 +336,7 @@ static void CFuncDoTrace(byte dummy_parameter) { ...@@ -336,7 +336,7 @@ static void CFuncDoTrace(byte dummy_parameter) {
#elif defined _MSC_VER #elif defined _MSC_VER
// Approximate a frame pointer address. We compile without base pointers, // Approximate a frame pointer address. We compile without base pointers,
// so we can't trust ebp/rbp. // so we can't trust ebp/rbp.
fp = &dummy_parameter - 2 * kPointerSize; fp = &dummy_parameter - 2 * sizeof(void*); // NOLINT
#else #else
#error Unexpected platform. #error Unexpected platform.
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment