OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_JS_OPERATOR_H_ | 5 #ifndef V8_COMPILER_JS_OPERATOR_H_ |
6 #define V8_COMPILER_JS_OPERATOR_H_ | 6 #define V8_COMPILER_JS_OPERATOR_H_ |
7 | 7 |
8 #include "src/runtime/runtime.h" | 8 #include "src/runtime/runtime.h" |
9 #include "src/unique.h" | 9 #include "src/unique.h" |
10 | 10 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 const Operator* ToBoolean(); | 263 const Operator* ToBoolean(); |
264 const Operator* ToNumber(); | 264 const Operator* ToNumber(); |
265 const Operator* ToString(); | 265 const Operator* ToString(); |
266 const Operator* ToName(); | 266 const Operator* ToName(); |
267 const Operator* ToObject(); | 267 const Operator* ToObject(); |
268 const Operator* Yield(); | 268 const Operator* Yield(); |
269 | 269 |
270 const Operator* Create(); | 270 const Operator* Create(); |
271 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info, | 271 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info, |
272 PretenureFlag pretenure); | 272 PretenureFlag pretenure); |
| 273 const Operator* CreateLiteralArray(int literal_flags); |
| 274 const Operator* CreateLiteralObject(int literal_flags); |
273 | 275 |
274 const Operator* CallFunction(size_t arity, CallFunctionFlags flags); | 276 const Operator* CallFunction(size_t arity, CallFunctionFlags flags); |
275 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity); | 277 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity); |
276 | 278 |
277 const Operator* CallConstruct(int arguments); | 279 const Operator* CallConstruct(int arguments); |
278 | 280 |
279 const Operator* LoadProperty(const VectorSlotPair& feedback); | 281 const Operator* LoadProperty(const VectorSlotPair& feedback); |
280 const Operator* LoadNamed(const Unique<Name>& name, | 282 const Operator* LoadNamed(const Unique<Name>& name, |
281 const VectorSlotPair& feedback, | 283 const VectorSlotPair& feedback, |
282 ContextualMode contextual_mode = NOT_CONTEXTUAL, | 284 ContextualMode contextual_mode = NOT_CONTEXTUAL, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 Zone* const zone_; | 316 Zone* const zone_; |
315 | 317 |
316 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 318 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
317 }; | 319 }; |
318 | 320 |
319 } // namespace compiler | 321 } // namespace compiler |
320 } // namespace internal | 322 } // namespace internal |
321 } // namespace v8 | 323 } // namespace v8 |
322 | 324 |
323 #endif // V8_COMPILER_JS_OPERATOR_H_ | 325 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |