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

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

Issue 1015983003: Disinherit PropertyCell from Cell (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/heap-snapshot-generator.cc ('k') | src/hydrogen-instructions.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 6120 matching lines...) Expand 10 before | Expand all | Expand 10 after
6131 6131
6132 // Create an access to the backing store of an object. 6132 // Create an access to the backing store of an object.
6133 static HObjectAccess ForBackingStoreOffset(int offset, 6133 static HObjectAccess ForBackingStoreOffset(int offset,
6134 Representation representation = Representation::Tagged()); 6134 Representation representation = Representation::Tagged());
6135 6135
6136 // Create an access to a resolved field (in-object or backing store). 6136 // Create an access to a resolved field (in-object or backing store).
6137 static HObjectAccess ForField(Handle<Map> map, int index, 6137 static HObjectAccess ForField(Handle<Map> map, int index,
6138 Representation representation, 6138 Representation representation,
6139 Handle<String> name); 6139 Handle<String> name);
6140 6140
6141 // Create an access for the payload of a Cell or JSGlobalPropertyCell.
6142 static HObjectAccess ForCellPayload(Isolate* isolate);
6143
6144 static HObjectAccess ForJSTypedArrayLength() { 6141 static HObjectAccess ForJSTypedArrayLength() {
6145 return HObjectAccess::ForObservableJSObjectOffset( 6142 return HObjectAccess::ForObservableJSObjectOffset(
6146 JSTypedArray::kLengthOffset); 6143 JSTypedArray::kLengthOffset);
6147 } 6144 }
6148 6145
6149 static HObjectAccess ForJSArrayBufferBackingStore() { 6146 static HObjectAccess ForJSArrayBufferBackingStore() {
6150 return HObjectAccess::ForObservableJSObjectOffset( 6147 return HObjectAccess::ForObservableJSObjectOffset(
6151 JSArrayBuffer::kBackingStoreOffset, Representation::External()); 6148 JSArrayBuffer::kBackingStoreOffset, Representation::External());
6152 } 6149 }
6153 6150
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after
7879 }; 7876 };
7880 7877
7881 7878
7882 7879
7883 #undef DECLARE_INSTRUCTION 7880 #undef DECLARE_INSTRUCTION
7884 #undef DECLARE_CONCRETE_INSTRUCTION 7881 #undef DECLARE_CONCRETE_INSTRUCTION
7885 7882
7886 } } // namespace v8::internal 7883 } } // namespace v8::internal
7887 7884
7888 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7885 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698