Commit a3c454da authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Fix performance regression in Kraken audio-oscillator.

BUG=325529
LOG=y
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/103903002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18244 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 86fa1cfc
......@@ -2625,7 +2625,7 @@ void BinaryOpIC::State::Update(Handle<Object> left,
right->ToInt32(&fixed_right_arg_value) &&
fixed_right_arg_value > 0 &&
IsPowerOf2(fixed_right_arg_value) &&
FixedRightArgValueField::is_valid(fixed_right_arg_value) &&
FixedRightArgValueField::is_valid(WhichPowerOf2(fixed_right_arg_value)) &&
(left_kind_ == SMI || left_kind_ == INT32) &&
(result_kind_ == NONE || !fixed_right_arg_.has_value);
fixed_right_arg_ = Maybe<int32_t>(has_fixed_right_arg,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment