| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |