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

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

Issue 309483002: HRor and HSar can deoptimize. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « no previous file | test/mjsunit/regress/regress-3359.js » ('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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 case HValue::kLoadNamedField: 824 case HValue::kLoadNamedField:
825 case HValue::kLoadNamedGeneric: 825 case HValue::kLoadNamedGeneric:
826 case HValue::kLoadRoot: 826 case HValue::kLoadRoot:
827 case HValue::kMapEnumLength: 827 case HValue::kMapEnumLength:
828 case HValue::kMathMinMax: 828 case HValue::kMathMinMax:
829 case HValue::kParameter: 829 case HValue::kParameter:
830 case HValue::kPhi: 830 case HValue::kPhi:
831 case HValue::kPushArguments: 831 case HValue::kPushArguments:
832 case HValue::kRegExpLiteral: 832 case HValue::kRegExpLiteral:
833 case HValue::kReturn: 833 case HValue::kReturn:
834 case HValue::kRor:
835 case HValue::kSar:
836 case HValue::kSeqStringGetChar: 834 case HValue::kSeqStringGetChar:
837 case HValue::kStoreCodeEntry: 835 case HValue::kStoreCodeEntry:
838 case HValue::kStoreKeyed: 836 case HValue::kStoreKeyed:
839 case HValue::kStoreNamedField: 837 case HValue::kStoreNamedField:
840 case HValue::kStoreNamedGeneric: 838 case HValue::kStoreNamedGeneric:
841 case HValue::kStringCharCodeAt: 839 case HValue::kStringCharCodeAt:
842 case HValue::kStringCharFromCode: 840 case HValue::kStringCharFromCode:
843 case HValue::kThisFunction: 841 case HValue::kThisFunction:
844 case HValue::kTypeofIsAndBranch: 842 case HValue::kTypeofIsAndBranch:
845 case HValue::kUnknownOSRValue: 843 case HValue::kUnknownOSRValue:
(...skipping 24 matching lines...) Expand all
870 case HValue::kLoadContextSlot: 868 case HValue::kLoadContextSlot:
871 case HValue::kLoadFunctionPrototype: 869 case HValue::kLoadFunctionPrototype:
872 case HValue::kLoadGlobalCell: 870 case HValue::kLoadGlobalCell:
873 case HValue::kLoadKeyed: 871 case HValue::kLoadKeyed:
874 case HValue::kLoadKeyedGeneric: 872 case HValue::kLoadKeyedGeneric:
875 case HValue::kMathFloorOfDiv: 873 case HValue::kMathFloorOfDiv:
876 case HValue::kMod: 874 case HValue::kMod:
877 case HValue::kMul: 875 case HValue::kMul:
878 case HValue::kOsrEntry: 876 case HValue::kOsrEntry:
879 case HValue::kPower: 877 case HValue::kPower:
878 case HValue::kRor:
879 case HValue::kSar:
880 case HValue::kSeqStringSetChar: 880 case HValue::kSeqStringSetChar:
881 case HValue::kShl: 881 case HValue::kShl:
882 case HValue::kShr: 882 case HValue::kShr:
883 case HValue::kSimulate: 883 case HValue::kSimulate:
884 case HValue::kStackCheck: 884 case HValue::kStackCheck:
885 case HValue::kStoreContextSlot: 885 case HValue::kStoreContextSlot:
886 case HValue::kStoreGlobalCell: 886 case HValue::kStoreGlobalCell:
887 case HValue::kStoreKeyedGeneric: 887 case HValue::kStoreKeyedGeneric:
888 case HValue::kStringAdd: 888 case HValue::kStringAdd:
889 case HValue::kStringCompareAndBranch: 889 case HValue::kStringCompareAndBranch:
(...skipping 3857 matching lines...) Expand 10 before | Expand all | Expand 10 after
4747 break; 4747 break;
4748 case kExternalMemory: 4748 case kExternalMemory:
4749 stream->Add("[external-memory]"); 4749 stream->Add("[external-memory]");
4750 break; 4750 break;
4751 } 4751 }
4752 4752
4753 stream->Add("@%d", offset()); 4753 stream->Add("@%d", offset());
4754 } 4754 }
4755 4755
4756 } } // namespace v8::internal 4756 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-3359.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698