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

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

Issue 1406113007: Merge GlobalObject with JSGlobalObject. (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/crankshaft/ia32/lithium-codegen-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_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 6174 matching lines...) Expand 10 before | Expand all | Expand 10 after
6185 static HObjectAccess ForJSArrayBufferViewByteOffset() { 6185 static HObjectAccess ForJSArrayBufferViewByteOffset() {
6186 return HObjectAccess::ForObservableJSObjectOffset( 6186 return HObjectAccess::ForObservableJSObjectOffset(
6187 JSArrayBufferView::kByteOffsetOffset); 6187 JSArrayBufferView::kByteOffsetOffset);
6188 } 6188 }
6189 6189
6190 static HObjectAccess ForJSArrayBufferViewByteLength() { 6190 static HObjectAccess ForJSArrayBufferViewByteLength() {
6191 return HObjectAccess::ForObservableJSObjectOffset( 6191 return HObjectAccess::ForObservableJSObjectOffset(
6192 JSArrayBufferView::kByteLengthOffset); 6192 JSArrayBufferView::kByteLengthOffset);
6193 } 6193 }
6194 6194
6195 static HObjectAccess ForGlobalObjectNativeContext() { 6195 static HObjectAccess ForJSGlobalObjectNativeContext() {
6196 return HObjectAccess(kInobject, GlobalObject::kNativeContextOffset); 6196 return HObjectAccess(kInobject, JSGlobalObject::kNativeContextOffset);
6197 } 6197 }
6198 6198
6199 static HObjectAccess ForJSCollectionTable() { 6199 static HObjectAccess ForJSCollectionTable() {
6200 return HObjectAccess::ForObservableJSObjectOffset( 6200 return HObjectAccess::ForObservableJSObjectOffset(
6201 JSCollection::kTableOffset); 6201 JSCollection::kTableOffset);
6202 } 6202 }
6203 6203
6204 template <typename CollectionType> 6204 template <typename CollectionType>
6205 static HObjectAccess ForOrderedHashTableNumberOfBuckets() { 6205 static HObjectAccess ForOrderedHashTableNumberOfBuckets() {
6206 return HObjectAccess(kInobject, CollectionType::kNumberOfBucketsOffset, 6206 return HObjectAccess(kInobject, CollectionType::kNumberOfBucketsOffset,
(...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after
7909 7909
7910 7910
7911 7911
7912 #undef DECLARE_INSTRUCTION 7912 #undef DECLARE_INSTRUCTION
7913 #undef DECLARE_CONCRETE_INSTRUCTION 7913 #undef DECLARE_CONCRETE_INSTRUCTION
7914 7914
7915 } // namespace internal 7915 } // namespace internal
7916 } // namespace v8 7916 } // namespace v8
7917 7917
7918 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ 7918 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698