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

Side by Side Diff: src/crankshaft/hydrogen-instructions.cc

Issue 1614943002: [crankshaft] Remove the useless HMapEnumLength instruction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Put NoObservableSideEffectsScope there Created 4 years, 11 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/crankshaft/hydrogen-instructions.h ('k') | src/crankshaft/ia32/lithium-codegen-ia32.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/crankshaft/hydrogen-instructions.h" 5 #include "src/crankshaft/hydrogen-instructions.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/base/safe_math.h" 8 #include "src/base/safe_math.h"
9 #include "src/crankshaft/hydrogen-infer-representation.h" 9 #include "src/crankshaft/hydrogen-infer-representation.h"
10 #include "src/double.h" 10 #include "src/double.h"
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 case HValue::kInstanceOf: 804 case HValue::kInstanceOf:
805 case HValue::kIsSmiAndBranch: 805 case HValue::kIsSmiAndBranch:
806 case HValue::kIsStringAndBranch: 806 case HValue::kIsStringAndBranch:
807 case HValue::kIsUndetectableAndBranch: 807 case HValue::kIsUndetectableAndBranch:
808 case HValue::kLeaveInlined: 808 case HValue::kLeaveInlined:
809 case HValue::kLoadFieldByIndex: 809 case HValue::kLoadFieldByIndex:
810 case HValue::kLoadGlobalGeneric: 810 case HValue::kLoadGlobalGeneric:
811 case HValue::kLoadNamedField: 811 case HValue::kLoadNamedField:
812 case HValue::kLoadNamedGeneric: 812 case HValue::kLoadNamedGeneric:
813 case HValue::kLoadRoot: 813 case HValue::kLoadRoot:
814 case HValue::kMapEnumLength:
815 case HValue::kMathMinMax: 814 case HValue::kMathMinMax:
816 case HValue::kParameter: 815 case HValue::kParameter:
817 case HValue::kPhi: 816 case HValue::kPhi:
818 case HValue::kPushArguments: 817 case HValue::kPushArguments:
819 case HValue::kReturn: 818 case HValue::kReturn:
820 case HValue::kSeqStringGetChar: 819 case HValue::kSeqStringGetChar:
821 case HValue::kStoreCodeEntry: 820 case HValue::kStoreCodeEntry:
822 case HValue::kStoreFrameContext: 821 case HValue::kStoreFrameContext:
823 case HValue::kStoreKeyed: 822 case HValue::kStoreKeyed:
824 case HValue::kStoreNamedField: 823 case HValue::kStoreNamedField:
(...skipping 3868 matching lines...) Expand 10 before | Expand all | Expand 10 after
4693 case HObjectAccess::kExternalMemory: 4692 case HObjectAccess::kExternalMemory:
4694 os << "[external-memory]"; 4693 os << "[external-memory]";
4695 break; 4694 break;
4696 } 4695 }
4697 4696
4698 return os << "@" << access.offset(); 4697 return os << "@" << access.offset();
4699 } 4698 }
4700 4699
4701 } // namespace internal 4700 } // namespace internal
4702 } // namespace v8 4701 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen-instructions.h ('k') | src/crankshaft/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698