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

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

Issue 1347063004: [ic] Introduce BOOLEAN state for CompareIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/hydrogen.cc ('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 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_ 5 #ifndef V8_HYDROGEN_INSTRUCTIONS_H_
6 #define V8_HYDROGEN_INSTRUCTIONS_H_ 6 #define V8_HYDROGEN_INSTRUCTIONS_H_
7 7
8 #include <cstring> 8 #include <cstring>
9 #include <iosfwd> 9 #include <iosfwd>
10 10
(...skipping 5928 matching lines...) Expand 10 before | Expand all | Expand 10 after
5939 HeapNumber::kValueOffset, 5939 HeapNumber::kValueOffset,
5940 Representation::Integer32()); 5940 Representation::Integer32());
5941 } 5941 }
5942 5942
5943 static HObjectAccess ForHeapNumberValueHighestBits() { 5943 static HObjectAccess ForHeapNumberValueHighestBits() {
5944 return HObjectAccess(kDouble, 5944 return HObjectAccess(kDouble,
5945 HeapNumber::kValueOffset + kIntSize, 5945 HeapNumber::kValueOffset + kIntSize,
5946 Representation::Integer32()); 5946 Representation::Integer32());
5947 } 5947 }
5948 5948
5949 static HObjectAccess ForOddballToNumber(
5950 Representation representation = Representation::Tagged()) {
5951 return HObjectAccess(kInobject, Oddball::kToNumberOffset, representation);
5952 }
5953
5949 static HObjectAccess ForOddballTypeOf() { 5954 static HObjectAccess ForOddballTypeOf() {
5950 return HObjectAccess(kInobject, Oddball::kTypeOfOffset, 5955 return HObjectAccess(kInobject, Oddball::kTypeOfOffset,
5951 Representation::HeapObject()); 5956 Representation::HeapObject());
5952 } 5957 }
5953 5958
5954 static HObjectAccess ForElementsPointer() { 5959 static HObjectAccess ForElementsPointer() {
5955 return HObjectAccess(kElementsPointer, JSObject::kElementsOffset); 5960 return HObjectAccess(kElementsPointer, JSObject::kElementsOffset);
5956 } 5961 }
5957 5962
5958 static HObjectAccess ForLiteralsPointer() { 5963 static HObjectAccess ForLiteralsPointer() {
(...skipping 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after
7974 }; 7979 };
7975 7980
7976 7981
7977 7982
7978 #undef DECLARE_INSTRUCTION 7983 #undef DECLARE_INSTRUCTION
7979 #undef DECLARE_CONCRETE_INSTRUCTION 7984 #undef DECLARE_CONCRETE_INSTRUCTION
7980 7985
7981 } } // namespace v8::internal 7986 } } // namespace v8::internal
7982 7987
7983 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7988 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698