Index: vm/assembler_x64.h |
=================================================================== |
--- vm/assembler_x64.h (revision 9040) |
+++ vm/assembler_x64.h (working copy) |
@@ -18,28 +18,6 @@ |
// Forward declarations. |
class RuntimeEntry; |
- |
-#if defined(TESTING) || defined(DEBUG) |
- |
-#if defined(TARGET_OS_WINDOWS) |
-// The compiler may dynamically align the stack on Windows, so do not check. |
-#define CHECK_STACK_ALIGNMENT { } |
-#else |
-#define CHECK_STACK_ALIGNMENT { \ |
- uword current_sp; \ |
- asm volatile("mov %%rsp, %[current_sp]" : [current_sp] "=r" (current_sp)); \ |
- ASSERT((OS::ActivationFrameAlignment() == 0) || \ |
- (Utils::IsAligned(current_sp, OS::ActivationFrameAlignment()))); \ |
-} |
-#endif |
- |
-#else |
- |
-#define CHECK_STACK_ALIGNMENT { } |
- |
-#endif |
- |
- |
class Immediate : public ValueObject { |
public: |
explicit Immediate(int64_t value) : value_(value) { } |