Skip to content

Commit 1d694c6

Browse files
committedOct 30, 2013
Opal no longer optimizes operator calls
1 parent 58edaff commit 1d694c6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎lib/opal/sprockets/processor.rb

-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def self.engine_initialized?
3434

3535
class << self
3636
attr_accessor :method_missing_enabled
37-
attr_accessor :optimized_operators_enabled
3837
attr_accessor :arity_check_enabled
3938
attr_accessor :const_missing_enabled
4039
attr_accessor :dynamic_require_severity
@@ -43,7 +42,6 @@ class << self
4342
end
4443

4544
self.method_missing_enabled = true
46-
self.optimized_operators_enabled = true
4745
self.arity_check_enabled = false
4846
self.const_missing_enabled = true
4947
self.dynamic_require_severity = :error # :error, :warning or :ignore
@@ -68,7 +66,6 @@ def prepare
6866
def evaluate(context, locals, &block)
6967
options = {
7068
:method_missing => self.class.method_missing_enabled,
71-
:optimized_operators => self.class.optimized_operators_enabled,
7269
:arity_check => self.class.arity_check_enabled,
7370
:const_missing => self.class.const_missing_enabled,
7471
:dynamic_require_severity => self.class.dynamic_require_severity,

0 commit comments

Comments
 (0)
Please sign in to comment.