From 0f64915781f59eec8f07b4661533f0461d0b899f Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Wed, 6 May 2009 11:40:44 +0000 Subject: [PATCH] Use the correct V8_HOST_ARCH macro, it is IA32 and not X86. Review URL: http://codereview.chromium.org/115022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1880 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/platform-linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform-linux.cc b/src/platform-linux.cc index 418113b..026d251 100644 --- a/src/platform-linux.cc +++ b/src/platform-linux.cc @@ -600,7 +600,7 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { // Extracting the sample from the context is extremely machine dependent. ucontext_t* ucontext = reinterpret_cast(context); mcontext_t& mcontext = ucontext->uc_mcontext; -#if V8_HOST_ARCH_X86 +#if V8_HOST_ARCH_IA32 sample.pc = mcontext.gregs[REG_EIP]; sample.sp = mcontext.gregs[REG_ESP]; sample.fp = mcontext.gregs[REG_EBP]; -- 2.7.4