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

Side by Side Diff: src/compiler/access-builder.h

Issue 1453653003: [turbofan] Add support for special JSArrayBufferView accessors. (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 | « no previous file | src/compiler/access-builder.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_COMPILER_ACCESS_BUILDER_H_ 5 #ifndef V8_COMPILER_ACCESS_BUILDER_H_
6 #define V8_COMPILER_ACCESS_BUILDER_H_ 6 #define V8_COMPILER_ACCESS_BUILDER_H_
7 7
8 #include "src/compiler/simplified-operator.h" 8 #include "src/compiler/simplified-operator.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 25 matching lines...) Expand all
36 36
37 // Provides access to JSFunction::context() field. 37 // Provides access to JSFunction::context() field.
38 static FieldAccess ForJSFunctionContext(); 38 static FieldAccess ForJSFunctionContext();
39 39
40 // Provides access to JSFunction::shared() field. 40 // Provides access to JSFunction::shared() field.
41 static FieldAccess ForJSFunctionSharedFunctionInfo(); 41 static FieldAccess ForJSFunctionSharedFunctionInfo();
42 42
43 // Provides access to JSArrayBuffer::backing_store() field. 43 // Provides access to JSArrayBuffer::backing_store() field.
44 static FieldAccess ForJSArrayBufferBackingStore(); 44 static FieldAccess ForJSArrayBufferBackingStore();
45 45
46 // Provides access to JSArrayBuffer::bit_field() field.
47 static FieldAccess ForJSArrayBufferBitField();
48
49 // Provides access to JSArrayBufferView::buffer() field.
50 static FieldAccess ForJSArrayBufferViewBuffer();
51
46 // Provides access to JSDate fields. 52 // Provides access to JSDate fields.
47 static FieldAccess ForJSDateField(JSDate::FieldIndex index); 53 static FieldAccess ForJSDateField(JSDate::FieldIndex index);
48 54
49 // Provides access to FixedArray::length() field. 55 // Provides access to FixedArray::length() field.
50 static FieldAccess ForFixedArrayLength(); 56 static FieldAccess ForFixedArrayLength();
51 57
52 // Provides access to DescriptorArray::enum_cache() field. 58 // Provides access to DescriptorArray::enum_cache() field.
53 static FieldAccess ForDescriptorArrayEnumCache(); 59 static FieldAccess ForDescriptorArrayEnumCache();
54 60
55 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. 61 // Provides access to DescriptorArray::enum_cache_bridge_cache() field.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 126
121 private: 127 private:
122 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 128 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
123 }; 129 };
124 130
125 } // namespace compiler 131 } // namespace compiler
126 } // namespace internal 132 } // namespace internal
127 } // namespace v8 133 } // namespace v8
128 134
129 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 135 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698