[pypy-commit] lang-js default: removed elidable annotaiton from properties
stepahn
noreply at buildbot.pypy.org
Fri Dec 28 11:35:20 CET 2012
Author: Stephan <stephan at stzal.com>
Branch:
Changeset: r299:5cef7b103d3a
Date: 2012-09-04 16:02 +0200
http://bitbucket.org/pypy/lang-js/changeset/5cef7b103d3a/
Log: removed elidable annotaiton from properties
diff --git a/js/property.py b/js/property.py
--- a/js/property.py
+++ b/js/property.py
@@ -26,7 +26,6 @@
def update_with_descriptor(self, desc):
raise NotImplementedError(self.__class__)
- @jit.elidable
def to_property_descriptor(self):
return PropertyDescriptor(enumerable=self.enumerable, configurable=self.configurable)
@@ -63,7 +62,6 @@
return DataProperty(value, writable, enumerable, configurable)
- @jit.elidable
def to_property_descriptor(self):
return DataPropertyDescriptor(self.value, self.writable, self.enumerable, self.configurable)
@@ -100,6 +98,5 @@
return AccessorProperty(getter, setter, enumerable, configurable)
- @jit.elidable
def to_property_descriptor(self):
return AccessorPropertyDescriptor(self.getter, self.setter, self.enumerable, self.configurable)
diff --git a/js/property_descriptor.py b/js/property_descriptor.py
--- a/js/property_descriptor.py
+++ b/js/property_descriptor.py
@@ -1,21 +1,18 @@
-from pypy.rlib import jit
+#from pypy.rlib import jit
- at jit.elidable
def is_data_descriptor(desc):
if desc is None:
return False
return desc.is_data_descriptor()
- at jit.elidable
def is_accessor_descriptor(desc):
if desc is None:
return False
return desc.is_accessor_descriptor()
- at jit.elidable
def is_generic_descriptor(desc):
if desc is None:
return False
More information about the pypy-commit
mailing list