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/crankshaft/hydrogen-instructions.h

Issue 1432453005: Revert of Use in-object fields instead of private symbols for regexp slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/crankshaft/hydrogen.cc ('k') | src/js/macros.py » ('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_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_
6 #define V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_
7 7
8 #include <cstring> 8 #include <cstring>
9 #include <iosfwd> 9 #include <iosfwd>
10 10
(...skipping 6177 matching lines...) Expand 10 before | Expand all | Expand 10 after
6188 6188
6189 static HObjectAccess ForJSArrayBufferViewByteLength() { 6189 static HObjectAccess ForJSArrayBufferViewByteLength() {
6190 return HObjectAccess::ForObservableJSObjectOffset( 6190 return HObjectAccess::ForObservableJSObjectOffset(
6191 JSArrayBufferView::kByteLengthOffset); 6191 JSArrayBufferView::kByteLengthOffset);
6192 } 6192 }
6193 6193
6194 static HObjectAccess ForJSGlobalObjectNativeContext() { 6194 static HObjectAccess ForJSGlobalObjectNativeContext() {
6195 return HObjectAccess(kInobject, JSGlobalObject::kNativeContextOffset); 6195 return HObjectAccess(kInobject, JSGlobalObject::kNativeContextOffset);
6196 } 6196 }
6197 6197
6198 static HObjectAccess ForJSRegExpFlags() {
6199 return HObjectAccess(kInobject, JSRegExp::kFlagsOffset);
6200 }
6201
6202 static HObjectAccess ForJSRegExpSource() {
6203 return HObjectAccess(kInobject, JSRegExp::kSourceOffset);
6204 }
6205
6206 static HObjectAccess ForJSCollectionTable() { 6198 static HObjectAccess ForJSCollectionTable() {
6207 return HObjectAccess::ForObservableJSObjectOffset( 6199 return HObjectAccess::ForObservableJSObjectOffset(
6208 JSCollection::kTableOffset); 6200 JSCollection::kTableOffset);
6209 } 6201 }
6210 6202
6211 template <typename CollectionType> 6203 template <typename CollectionType>
6212 static HObjectAccess ForOrderedHashTableNumberOfBuckets() { 6204 static HObjectAccess ForOrderedHashTableNumberOfBuckets() {
6213 return HObjectAccess(kInobject, CollectionType::kNumberOfBucketsOffset, 6205 return HObjectAccess(kInobject, CollectionType::kNumberOfBucketsOffset,
6214 Representation::Smi()); 6206 Representation::Smi());
6215 } 6207 }
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after
7916 7908
7917 7909
7918 7910
7919 #undef DECLARE_INSTRUCTION 7911 #undef DECLARE_INSTRUCTION
7920 #undef DECLARE_CONCRETE_INSTRUCTION 7912 #undef DECLARE_CONCRETE_INSTRUCTION
7921 7913
7922 } // namespace internal 7914 } // namespace internal
7923 } // namespace v8 7915 } // namespace v8
7924 7916
7925 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ 7917 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/js/macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698