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

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

Issue 1441573004: [turbofan] Lower JSCreate to an inline allocation in JSTypedLowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add unit test. 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 13 matching lines...) Expand all
24 24
25 // Provides access to HeapNumber::value() field. 25 // Provides access to HeapNumber::value() field.
26 static FieldAccess ForHeapNumberValue(); 26 static FieldAccess ForHeapNumberValue();
27 27
28 // Provides access to JSObject::properties() field. 28 // Provides access to JSObject::properties() field.
29 static FieldAccess ForJSObjectProperties(); 29 static FieldAccess ForJSObjectProperties();
30 30
31 // Provides access to JSObject::elements() field. 31 // Provides access to JSObject::elements() field.
32 static FieldAccess ForJSObjectElements(); 32 static FieldAccess ForJSObjectElements();
33 33
34 // Provides access to JSObject inobject property fields.
35 static FieldAccess ForJSObjectInObjectProperty(Handle<Map> map, int index);
36
34 // Provides access to JSFunction::context() field. 37 // Provides access to JSFunction::context() field.
35 static FieldAccess ForJSFunctionContext(); 38 static FieldAccess ForJSFunctionContext();
36 39
37 // Provides access to JSFunction::shared() field. 40 // Provides access to JSFunction::shared() field.
38 static FieldAccess ForJSFunctionSharedFunctionInfo(); 41 static FieldAccess ForJSFunctionSharedFunctionInfo();
39 42
40 // Provides access to JSArrayBuffer::backing_store() field. 43 // Provides access to JSArrayBuffer::backing_store() field.
41 static FieldAccess ForJSArrayBufferBackingStore(); 44 static FieldAccess ForJSArrayBufferBackingStore();
42 45
43 // Provides access to JSDate fields. 46 // Provides access to JSDate fields.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 123
121 private: 124 private:
122 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 125 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
123 }; 126 };
124 127
125 } // namespace compiler 128 } // namespace compiler
126 } // namespace internal 129 } // namespace internal
127 } // namespace v8 130 } // namespace v8
128 131
129 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 132 #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