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

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

Issue 1426893002: [turbofan] Optimize JSConvertReceiver if we know something about the receiver. (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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 // Provides access to Map::descriptors() field. 55 // Provides access to Map::descriptors() field.
56 static FieldAccess ForMapDescriptors(); 56 static FieldAccess ForMapDescriptors();
57 57
58 // Provides access to Map::instance_type() field. 58 // Provides access to Map::instance_type() field.
59 static FieldAccess ForMapInstanceType(); 59 static FieldAccess ForMapInstanceType();
60 60
61 // Provides access to String::length() field. 61 // Provides access to String::length() field.
62 static FieldAccess ForStringLength(Zone* zone); 62 static FieldAccess ForStringLength(Zone* zone);
63 63
64 // Provides access to GlobalObject::global_proxy() field.
65 static FieldAccess ForGlobalObjectGlobalProxy();
66
64 // Provides access to GlobalObject::native_context() field. 67 // Provides access to GlobalObject::native_context() field.
65 static FieldAccess ForGlobalObjectNativeContext(); 68 static FieldAccess ForGlobalObjectNativeContext();
66 69
67 // Provides access to JSValue::value() field. 70 // Provides access to JSValue::value() field.
68 static FieldAccess ForValue(); 71 static FieldAccess ForValue();
69 72
70 // Provides access to arguments objects fields. 73 // Provides access to arguments objects fields.
71 static FieldAccess ForArgumentsLength(); 74 static FieldAccess ForArgumentsLength();
72 75
73 // Provides access to FixedArray slots. 76 // Provides access to FixedArray slots.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 113
111 private: 114 private:
112 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 115 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
113 }; 116 };
114 117
115 } // namespace compiler 118 } // namespace compiler
116 } // namespace internal 119 } // namespace internal
117 } // namespace v8 120 } // namespace v8
118 121
119 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 122 #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