Chromium Code Reviews| Index: src/compiler/access-builder.h |
| diff --git a/src/compiler/access-builder.h b/src/compiler/access-builder.h |
| index 3939f83026c2318be9b19b76f5c99c1fad2d56e8..2d1bce154dca7616ecf2d5fc5270cdfb1fc0a483 100644 |
| --- a/src/compiler/access-builder.h |
| +++ b/src/compiler/access-builder.h |
| @@ -65,6 +65,12 @@ class AccessBuilder final : public AllStatic { |
| // Provides access to the charaters of sequential strings. |
| static ElementAccess ForSeqStringChar(String::Encoding encoding); |
| + // Provides access to the SharedFunctionInfo in a JSFunction. |
| + static FieldAccess ForSharedFunctionInfo(); |
|
Benedikt Meurer
2015/05/08 12:17:07
I think the naming scheme suggests ForJSFunctionSh
danno
2015/05/08 15:28:01
Done.
|
| + |
| + // Provides access to the TypeFeedbackVector in SharedFunctionInfo. |
| + static FieldAccess ForTypeFeedbackVector(); |
|
Benedikt Meurer
2015/05/08 12:17:07
ForSharedFunctionInfoTypeFeedbackVector()
danno
2015/05/08 15:28:01
Done.
|
| + |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| }; |