summaryrefslogtreecommitdiff
path: root/vm_exec.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-23 05:56:25 (GMT)
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-23 05:56:25 (GMT)
commit0e2d2e6a794d3e9e6a55be37b9b640c902bc501b (patch)
treeaa6148c34b5fcc74078e7bf822bbbd1bb2c0a41b /vm_exec.c
parent08524bc59477176b270a0249784af4e37ab3fed9 (diff)
Drop to support NaCl platform.
Because NaCl and PNaCl are already sunset status. see https://bugs.chromium.org/p/chromium/issues/detail?id=239656#c160 configure.ac: Patch for this file was provided by @nobu. [Feature #14041][ruby-core:83497][fix GH-1726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.c')
-rw-r--r--vm_exec.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/vm_exec.c b/vm_exec.c
index 1ce9a02..9537687 100644
--- a/vm_exec.c
+++ b/vm_exec.c
@@ -50,7 +50,7 @@ vm_exec_core(rb_thread_t *th, VALUE initial)
#if OPT_STACK_CACHING
#if 0
-#elif __GNUC__ && __x86_64__ && !defined(__native_client__)
+#elif __GNUC__ && __x86_64__
DECL_SC_REG(VALUE, a, "12");
DECL_SC_REG(VALUE, b, "13");
#else
@@ -66,11 +66,7 @@ vm_exec_core(rb_thread_t *th, VALUE initial)
#elif defined(__GNUC__) && defined(__x86_64__)
DECL_SC_REG(const VALUE *, pc, "14");
-# if defined(__native_client__)
- DECL_SC_REG(rb_control_frame_t *, cfp, "13");
-# else
DECL_SC_REG(rb_control_frame_t *, cfp, "15");
-# endif
#define USE_MACHINE_REGS 1
#elif defined(__GNUC__) && defined(__powerpc64__)