OLD | NEW |
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 #include "src/compiler/js-operator.h" | 5 #include "src/compiler/js-operator.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/base/lazy-instance.h" | 9 #include "src/base/lazy-instance.h" |
10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 V(NotEqual, Operator::kNoProperties, 2, 1) \ | 356 V(NotEqual, Operator::kNoProperties, 2, 1) \ |
357 V(StrictEqual, Operator::kNoThrow, 2, 1) \ | 357 V(StrictEqual, Operator::kNoThrow, 2, 1) \ |
358 V(StrictNotEqual, Operator::kNoThrow, 2, 1) \ | 358 V(StrictNotEqual, Operator::kNoThrow, 2, 1) \ |
359 V(UnaryNot, Operator::kEliminatable, 1, 1) \ | 359 V(UnaryNot, Operator::kEliminatable, 1, 1) \ |
360 V(ToBoolean, Operator::kEliminatable, 1, 1) \ | 360 V(ToBoolean, Operator::kEliminatable, 1, 1) \ |
361 V(ToNumber, Operator::kNoProperties, 1, 1) \ | 361 V(ToNumber, Operator::kNoProperties, 1, 1) \ |
362 V(ToString, Operator::kNoProperties, 1, 1) \ | 362 V(ToString, Operator::kNoProperties, 1, 1) \ |
363 V(ToName, Operator::kNoProperties, 1, 1) \ | 363 V(ToName, Operator::kNoProperties, 1, 1) \ |
364 V(ToObject, Operator::kNoProperties, 1, 1) \ | 364 V(ToObject, Operator::kNoProperties, 1, 1) \ |
365 V(Yield, Operator::kNoProperties, 1, 1) \ | 365 V(Yield, Operator::kNoProperties, 1, 1) \ |
366 V(Create, Operator::kEliminatable, 1, 1) \ | 366 V(Create, Operator::kEliminatable, 2, 1) \ |
367 V(HasProperty, Operator::kNoProperties, 2, 1) \ | 367 V(HasProperty, Operator::kNoProperties, 2, 1) \ |
368 V(TypeOf, Operator::kEliminatable, 1, 1) \ | 368 V(TypeOf, Operator::kEliminatable, 1, 1) \ |
369 V(InstanceOf, Operator::kNoProperties, 2, 1) \ | 369 V(InstanceOf, Operator::kNoProperties, 2, 1) \ |
370 V(ForInDone, Operator::kPure, 2, 1) \ | 370 V(ForInDone, Operator::kPure, 2, 1) \ |
371 V(ForInNext, Operator::kNoProperties, 4, 1) \ | 371 V(ForInNext, Operator::kNoProperties, 4, 1) \ |
372 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ | 372 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ |
373 V(ForInStep, Operator::kPure, 1, 1) \ | 373 V(ForInStep, Operator::kPure, 1, 1) \ |
374 V(LoadMessage, Operator::kNoThrow, 0, 1) \ | 374 V(LoadMessage, Operator::kNoThrow, 0, 1) \ |
375 V(StoreMessage, Operator::kNoThrow, 1, 0) \ | 375 V(StoreMessage, Operator::kNoThrow, 1, 0) \ |
376 V(StackCheck, Operator::kNoProperties, 0, 0) \ | 376 V(StackCheck, Operator::kNoProperties, 0, 0) \ |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 Handle<ScopeInfo>::hash>( // -- | 703 Handle<ScopeInfo>::hash>( // -- |
704 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode | 704 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode |
705 "JSCreateScriptContext", // name | 705 "JSCreateScriptContext", // name |
706 1, 1, 1, 1, 1, 2, // counts | 706 1, 1, 1, 1, 1, 2, // counts |
707 scpope_info); // parameter | 707 scpope_info); // parameter |
708 } | 708 } |
709 | 709 |
710 } // namespace compiler | 710 } // namespace compiler |
711 } // namespace internal | 711 } // namespace internal |
712 } // namespace v8 | 712 } // namespace v8 |
OLD | NEW |