Lines 2-8
Link Here
|
2 |
#ifndef RUBY_GC_H |
2 |
#ifndef RUBY_GC_H |
3 |
#define RUBY_GC_H 1 |
3 |
#define RUBY_GC_H 1 |
4 |
|
4 |
|
5 |
#if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__) |
5 |
#if defined(__x86_64__) && !defined(_ILP32) && defined(__GNUC__) && !defined(__native_client__) |
6 |
#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) |
6 |
#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) |
7 |
#elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) |
7 |
#elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) |
8 |
#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) |
8 |
#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) |