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

Side by Side Diff: src/compiler/simplified-operator.cc

Issue 2170433002: Revert of [turbofan] Introduce TruncateTaggedToBit operator for ToBoolean truncation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « src/compiler/simplified-operator.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/simplified-operator.h" 5 #include "src/compiler/simplified-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/types.h" 10 #include "src/types.h"
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 V(ChangeTaggedToUint32, Operator::kNoProperties, 1) \ 337 V(ChangeTaggedToUint32, Operator::kNoProperties, 1) \
338 V(ChangeTaggedToFloat64, Operator::kNoProperties, 1) \ 338 V(ChangeTaggedToFloat64, Operator::kNoProperties, 1) \
339 V(ChangeInt31ToTaggedSigned, Operator::kNoProperties, 1) \ 339 V(ChangeInt31ToTaggedSigned, Operator::kNoProperties, 1) \
340 V(ChangeInt32ToTagged, Operator::kNoProperties, 1) \ 340 V(ChangeInt32ToTagged, Operator::kNoProperties, 1) \
341 V(ChangeUint32ToTagged, Operator::kNoProperties, 1) \ 341 V(ChangeUint32ToTagged, Operator::kNoProperties, 1) \
342 V(ChangeFloat64ToTagged, Operator::kNoProperties, 1) \ 342 V(ChangeFloat64ToTagged, Operator::kNoProperties, 1) \
343 V(ChangeTaggedToBit, Operator::kNoProperties, 1) \ 343 V(ChangeTaggedToBit, Operator::kNoProperties, 1) \
344 V(ChangeBitToTagged, Operator::kNoProperties, 1) \ 344 V(ChangeBitToTagged, Operator::kNoProperties, 1) \
345 V(TruncateTaggedToWord32, Operator::kNoProperties, 1) \ 345 V(TruncateTaggedToWord32, Operator::kNoProperties, 1) \
346 V(TruncateTaggedToFloat64, Operator::kNoProperties, 1) \ 346 V(TruncateTaggedToFloat64, Operator::kNoProperties, 1) \
347 V(TruncateTaggedToBit, Operator::kNoProperties, 1) \
348 V(ObjectIsCallable, Operator::kNoProperties, 1) \ 347 V(ObjectIsCallable, Operator::kNoProperties, 1) \
349 V(ObjectIsNumber, Operator::kNoProperties, 1) \ 348 V(ObjectIsNumber, Operator::kNoProperties, 1) \
350 V(ObjectIsReceiver, Operator::kNoProperties, 1) \ 349 V(ObjectIsReceiver, Operator::kNoProperties, 1) \
351 V(ObjectIsSmi, Operator::kNoProperties, 1) \ 350 V(ObjectIsSmi, Operator::kNoProperties, 1) \
352 V(ObjectIsString, Operator::kNoProperties, 1) \ 351 V(ObjectIsString, Operator::kNoProperties, 1) \
353 V(ObjectIsUndetectable, Operator::kNoProperties, 1) \ 352 V(ObjectIsUndetectable, Operator::kNoProperties, 1) \
354 V(StringEqual, Operator::kCommutative, 2) \ 353 V(StringEqual, Operator::kCommutative, 2) \
355 V(StringLessThan, Operator::kNoProperties, 2) \ 354 V(StringLessThan, Operator::kNoProperties, 2) \
356 V(StringLessThanOrEqual, Operator::kNoProperties, 2) 355 V(StringLessThanOrEqual, Operator::kNoProperties, 2)
357 356
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 Operator::kNoDeopt | Operator::kNoThrow | properties, \ 631 Operator::kNoDeopt | Operator::kNoThrow | properties, \
633 #Name, value_input_count, 1, control_input_count, \ 632 #Name, value_input_count, 1, control_input_count, \
634 output_count, 1, 0, access); \ 633 output_count, 1, 0, access); \
635 } 634 }
636 ACCESS_OP_LIST(ACCESS) 635 ACCESS_OP_LIST(ACCESS)
637 #undef ACCESS 636 #undef ACCESS
638 637
639 } // namespace compiler 638 } // namespace compiler
640 } // namespace internal 639 } // namespace internal
641 } // namespace v8 640 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698