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

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

Issue 2647733002: [turbofan] Recognize a couple of collection.js intrinsics. (Closed)
Patch Set: Created 3 years, 11 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
« 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/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/elements-kind.h" 10 #include "src/elements-kind.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 static FieldAccess ForJSObjectProperties(); 45 static FieldAccess ForJSObjectProperties();
46 46
47 // Provides access to JSObject::elements() field. 47 // Provides access to JSObject::elements() field.
48 static FieldAccess ForJSObjectElements(); 48 static FieldAccess ForJSObjectElements();
49 49
50 // Provides access to JSObject inobject property fields. 50 // Provides access to JSObject inobject property fields.
51 static FieldAccess ForJSObjectInObjectProperty(Handle<Map> map, int index); 51 static FieldAccess ForJSObjectInObjectProperty(Handle<Map> map, int index);
52 static FieldAccess ForJSObjectOffset( 52 static FieldAccess ForJSObjectOffset(
53 int offset, WriteBarrierKind write_barrier_kind = kFullWriteBarrier); 53 int offset, WriteBarrierKind write_barrier_kind = kFullWriteBarrier);
54 54
55 // Provides access to JSCollecton::table() field.
56 static FieldAccess ForJSCollectionTable();
57
55 // Provides access to JSFunction::prototype_or_initial_map() field. 58 // Provides access to JSFunction::prototype_or_initial_map() field.
56 static FieldAccess ForJSFunctionPrototypeOrInitialMap(); 59 static FieldAccess ForJSFunctionPrototypeOrInitialMap();
57 60
58 // Provides access to JSFunction::context() field. 61 // Provides access to JSFunction::context() field.
59 static FieldAccess ForJSFunctionContext(); 62 static FieldAccess ForJSFunctionContext();
60 63
61 // Provides access to JSFunction::shared() field. 64 // Provides access to JSFunction::shared() field.
62 static FieldAccess ForJSFunctionSharedFunctionInfo(); 65 static FieldAccess ForJSFunctionSharedFunctionInfo();
63 66
64 // Provides access to JSFunction::literals() field. 67 // Provides access to JSFunction::literals() field.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 264
262 private: 265 private:
263 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 266 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
264 }; 267 };
265 268
266 } // namespace compiler 269 } // namespace compiler
267 } // namespace internal 270 } // namespace internal
268 } // namespace v8 271 } // namespace v8
269 272
270 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 273 #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