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

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

Issue 299373005: Avoid HeapObject check in HStoreNamedField. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix condition on arm64. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/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 "v8.h" 5 #include "v8.h"
6 6
7 #include "double.h" 7 #include "double.h"
8 #include "factory.h" 8 #include "factory.h"
9 #include "hydrogen-infer-representation.h" 9 #include "hydrogen-infer-representation.h"
10 #include "property-details-inl.h" 10 #include "property-details-inl.h"
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 case HValue::kParameter: 871 case HValue::kParameter:
872 case HValue::kPhi: 872 case HValue::kPhi:
873 case HValue::kPushArguments: 873 case HValue::kPushArguments:
874 case HValue::kRegExpLiteral: 874 case HValue::kRegExpLiteral:
875 case HValue::kReturn: 875 case HValue::kReturn:
876 case HValue::kRor: 876 case HValue::kRor:
877 case HValue::kSar: 877 case HValue::kSar:
878 case HValue::kSeqStringGetChar: 878 case HValue::kSeqStringGetChar:
879 case HValue::kStoreCodeEntry: 879 case HValue::kStoreCodeEntry:
880 case HValue::kStoreKeyed: 880 case HValue::kStoreKeyed:
881 case HValue::kStoreNamedField:
881 case HValue::kStoreNamedGeneric: 882 case HValue::kStoreNamedGeneric:
882 case HValue::kStringCharCodeAt: 883 case HValue::kStringCharCodeAt:
883 case HValue::kStringCharFromCode: 884 case HValue::kStringCharFromCode:
884 case HValue::kThisFunction: 885 case HValue::kThisFunction:
885 case HValue::kTypeofIsAndBranch: 886 case HValue::kTypeofIsAndBranch:
886 case HValue::kUnknownOSRValue: 887 case HValue::kUnknownOSRValue:
887 case HValue::kUseConst: 888 case HValue::kUseConst:
888 return false; 889 return false;
889 890
890 case HValue::kAdd: 891 case HValue::kAdd:
(...skipping 28 matching lines...) Expand all
919 case HValue::kOsrEntry: 920 case HValue::kOsrEntry:
920 case HValue::kPower: 921 case HValue::kPower:
921 case HValue::kSeqStringSetChar: 922 case HValue::kSeqStringSetChar:
922 case HValue::kShl: 923 case HValue::kShl:
923 case HValue::kShr: 924 case HValue::kShr:
924 case HValue::kSimulate: 925 case HValue::kSimulate:
925 case HValue::kStackCheck: 926 case HValue::kStackCheck:
926 case HValue::kStoreContextSlot: 927 case HValue::kStoreContextSlot:
927 case HValue::kStoreGlobalCell: 928 case HValue::kStoreGlobalCell:
928 case HValue::kStoreKeyedGeneric: 929 case HValue::kStoreKeyedGeneric:
929 case HValue::kStoreNamedField:
930 case HValue::kStringAdd: 930 case HValue::kStringAdd:
931 case HValue::kStringCompareAndBranch: 931 case HValue::kStringCompareAndBranch:
932 case HValue::kSub: 932 case HValue::kSub:
933 case HValue::kToFastProperties: 933 case HValue::kToFastProperties:
934 case HValue::kTransitionElementsKind: 934 case HValue::kTransitionElementsKind:
935 case HValue::kTrapAllocationMemento: 935 case HValue::kTrapAllocationMemento:
936 case HValue::kTypeof: 936 case HValue::kTypeof:
937 case HValue::kUnaryMathOperation: 937 case HValue::kUnaryMathOperation:
938 case HValue::kWrapReceiver: 938 case HValue::kWrapReceiver:
939 return true; 939 return true;
(...skipping 3846 matching lines...) Expand 10 before | Expand all | Expand 10 after
4786 break; 4786 break;
4787 case kExternalMemory: 4787 case kExternalMemory:
4788 stream->Add("[external-memory]"); 4788 stream->Add("[external-memory]");
4789 break; 4789 break;
4790 } 4790 }
4791 4791
4792 stream->Add("@%d", offset()); 4792 stream->Add("@%d", offset());
4793 } 4793 }
4794 4794
4795 } } // namespace v8::internal 4795 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698