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

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

Issue 1304633002: Correctify instanceof and make it optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Add MIPS/MIPS64 ports. Created 5 years, 3 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/hydrogen-instructions.h ('k') | src/ia32/code-stubs-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/hydrogen-instructions.h" 5 #include "src/hydrogen-instructions.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/double.h" 8 #include "src/double.h"
9 #include "src/elements.h" 9 #include "src/elements.h"
10 #include "src/factory.h" 10 #include "src/factory.h"
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 case HValue::kDummyUse: 804 case HValue::kDummyUse:
805 case HValue::kEnterInlined: 805 case HValue::kEnterInlined:
806 case HValue::kEnvironmentMarker: 806 case HValue::kEnvironmentMarker:
807 case HValue::kForceRepresentation: 807 case HValue::kForceRepresentation:
808 case HValue::kGetCachedArrayIndex: 808 case HValue::kGetCachedArrayIndex:
809 case HValue::kGoto: 809 case HValue::kGoto:
810 case HValue::kHasCachedArrayIndexAndBranch: 810 case HValue::kHasCachedArrayIndexAndBranch:
811 case HValue::kHasInstanceTypeAndBranch: 811 case HValue::kHasInstanceTypeAndBranch:
812 case HValue::kInnerAllocatedObject: 812 case HValue::kInnerAllocatedObject:
813 case HValue::kInstanceOf: 813 case HValue::kInstanceOf:
814 case HValue::kInstanceOfKnownGlobal:
815 case HValue::kIsConstructCallAndBranch: 814 case HValue::kIsConstructCallAndBranch:
815 case HValue::kHasInPrototypeChainAndBranch:
816 case HValue::kIsObjectAndBranch: 816 case HValue::kIsObjectAndBranch:
817 case HValue::kIsSmiAndBranch: 817 case HValue::kIsSmiAndBranch:
818 case HValue::kIsStringAndBranch: 818 case HValue::kIsStringAndBranch:
819 case HValue::kIsUndetectableAndBranch: 819 case HValue::kIsUndetectableAndBranch:
820 case HValue::kLeaveInlined: 820 case HValue::kLeaveInlined:
821 case HValue::kLoadFieldByIndex: 821 case HValue::kLoadFieldByIndex:
822 case HValue::kLoadGlobalGeneric: 822 case HValue::kLoadGlobalGeneric:
823 case HValue::kLoadGlobalViaContext: 823 case HValue::kLoadGlobalViaContext:
824 case HValue::kLoadNamedField: 824 case HValue::kLoadNamedField:
825 case HValue::kLoadNamedGeneric: 825 case HValue::kLoadNamedGeneric:
(...skipping 3918 matching lines...) Expand 10 before | Expand all | Expand 10 after
4744 case HObjectAccess::kExternalMemory: 4744 case HObjectAccess::kExternalMemory:
4745 os << "[external-memory]"; 4745 os << "[external-memory]";
4746 break; 4746 break;
4747 } 4747 }
4748 4748
4749 return os << "@" << access.offset(); 4749 return os << "@" << access.offset();
4750 } 4750 }
4751 4751
4752 } // namespace internal 4752 } // namespace internal
4753 } // namespace v8 4753 } // namespace v8
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698