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

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

Issue 216993002: Revert "Inline internal getters for typed arrays & friends." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/runtime.h » ('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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 6007 matching lines...) Expand 10 before | Expand all | Expand 10 after
6018 static HObjectAccess ForJSTypedArrayLength() { 6018 static HObjectAccess ForJSTypedArrayLength() {
6019 return HObjectAccess::ForObservableJSObjectOffset( 6019 return HObjectAccess::ForObservableJSObjectOffset(
6020 JSTypedArray::kLengthOffset); 6020 JSTypedArray::kLengthOffset);
6021 } 6021 }
6022 6022
6023 static HObjectAccess ForJSArrayBufferBackingStore() { 6023 static HObjectAccess ForJSArrayBufferBackingStore() {
6024 return HObjectAccess::ForObservableJSObjectOffset( 6024 return HObjectAccess::ForObservableJSObjectOffset(
6025 JSArrayBuffer::kBackingStoreOffset, Representation::External()); 6025 JSArrayBuffer::kBackingStoreOffset, Representation::External());
6026 } 6026 }
6027 6027
6028 static HObjectAccess ForJSArrayBufferByteLength() {
6029 return HObjectAccess::ForObservableJSObjectOffset(
6030 JSArrayBuffer::kByteLengthOffset, Representation::Tagged());
6031 }
6032
6033 static HObjectAccess ForExternalArrayExternalPointer() { 6028 static HObjectAccess ForExternalArrayExternalPointer() {
6034 return HObjectAccess::ForObservableJSObjectOffset( 6029 return HObjectAccess::ForObservableJSObjectOffset(
6035 ExternalArray::kExternalPointerOffset, Representation::External()); 6030 ExternalArray::kExternalPointerOffset, Representation::External());
6036 } 6031 }
6037 6032
6038 static HObjectAccess ForJSArrayBufferViewWeakNext() { 6033 static HObjectAccess ForJSArrayBufferViewWeakNext() {
6039 return HObjectAccess::ForObservableJSObjectOffset( 6034 return HObjectAccess::ForObservableJSObjectOffset(
6040 JSArrayBufferView::kWeakNextOffset); 6035 JSArrayBufferView::kWeakNextOffset);
6041 } 6036 }
6042 6037
(...skipping 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after
7526 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7521 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7527 }; 7522 };
7528 7523
7529 7524
7530 #undef DECLARE_INSTRUCTION 7525 #undef DECLARE_INSTRUCTION
7531 #undef DECLARE_CONCRETE_INSTRUCTION 7526 #undef DECLARE_CONCRETE_INSTRUCTION
7532 7527
7533 } } // namespace v8::internal 7528 } } // namespace v8::internal
7534 7529
7535 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7530 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698