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

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

Issue 2427673004: [intrinsics] Nuke %HasCachedArrayIndex and %GetCachedArrayIndex. (Closed)
Patch Set: Created 4 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 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/ieee754.h" 8 #include "src/base/ieee754.h"
9 #include "src/base/safe_math.h" 9 #include "src/base/safe_math.h"
10 #include "src/crankshaft/hydrogen-infer-representation.h" 10 #include "src/crankshaft/hydrogen-infer-representation.h"
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 case HValue::kCompareNumericAndBranch: 801 case HValue::kCompareNumericAndBranch:
802 case HValue::kCompareObjectEqAndBranch: 802 case HValue::kCompareObjectEqAndBranch:
803 case HValue::kConstant: 803 case HValue::kConstant:
804 case HValue::kContext: 804 case HValue::kContext:
805 case HValue::kDebugBreak: 805 case HValue::kDebugBreak:
806 case HValue::kDeclareGlobals: 806 case HValue::kDeclareGlobals:
807 case HValue::kDummyUse: 807 case HValue::kDummyUse:
808 case HValue::kEnterInlined: 808 case HValue::kEnterInlined:
809 case HValue::kEnvironmentMarker: 809 case HValue::kEnvironmentMarker:
810 case HValue::kForceRepresentation: 810 case HValue::kForceRepresentation:
811 case HValue::kGetCachedArrayIndex:
812 case HValue::kGoto: 811 case HValue::kGoto:
813 case HValue::kHasCachedArrayIndexAndBranch:
814 case HValue::kHasInstanceTypeAndBranch: 812 case HValue::kHasInstanceTypeAndBranch:
815 case HValue::kInnerAllocatedObject: 813 case HValue::kInnerAllocatedObject:
816 case HValue::kIsSmiAndBranch: 814 case HValue::kIsSmiAndBranch:
817 case HValue::kIsStringAndBranch: 815 case HValue::kIsStringAndBranch:
818 case HValue::kIsUndetectableAndBranch: 816 case HValue::kIsUndetectableAndBranch:
819 case HValue::kLeaveInlined: 817 case HValue::kLeaveInlined:
820 case HValue::kLoadFieldByIndex: 818 case HValue::kLoadFieldByIndex:
821 case HValue::kLoadNamedField: 819 case HValue::kLoadNamedField:
822 case HValue::kLoadRoot: 820 case HValue::kLoadRoot:
823 case HValue::kMathMinMax: 821 case HValue::kMathMinMax:
(...skipping 3208 matching lines...) Expand 10 before | Expand all | Expand 10 after
4032 case HObjectAccess::kExternalMemory: 4030 case HObjectAccess::kExternalMemory:
4033 os << "[external-memory]"; 4031 os << "[external-memory]";
4034 break; 4032 break;
4035 } 4033 }
4036 4034
4037 return os << "@" << access.offset(); 4035 return os << "@" << access.offset();
4038 } 4036 }
4039 4037
4040 } // namespace internal 4038 } // namespace internal
4041 } // namespace v8 4039 } // 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