Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: src/deoptimizer.cc

Issue 1422213002: [turbofan] Introduce simplified NumberBitwise{Or,Xor,And} operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use NewNumber instead of NewHeapNumber in the Deoptimizer. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/verifier.cc ('k') | test/cctest/compiler/test-js-typed-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index a2347287b8059465253d91a3690677ae7c29ab79..c7290b935e8c7946b3ae71df91e44ec04dc0c8a0 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -2491,16 +2491,6 @@ Object* TranslatedValue::GetRawValue() const {
break;
}
- case kDouble: {
- int int_value = FastD2IChecked(double_value());
- bool is_smi = !IsMinusZero(double_value()) &&
- double_value() == int_value && Smi::IsValid(int_value);
- if (is_smi) {
- return Smi::FromInt(static_cast<int32_t>(int_value));
- }
- break;
- }
-
case kBoolBit: {
if (uint32_value() == 0) {
return isolate()->heap()->false_value();
« no previous file with comments | « src/compiler/verifier.cc ('k') | test/cctest/compiler/test-js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698