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 373 matching lines...) Loading... |
384 V(LessThan, Operator::kNoProperties, 2, 1) \ | 384 V(LessThan, Operator::kNoProperties, 2, 1) \ |
385 V(GreaterThan, Operator::kNoProperties, 2, 1) \ | 385 V(GreaterThan, Operator::kNoProperties, 2, 1) \ |
386 V(LessThanOrEqual, Operator::kNoProperties, 2, 1) \ | 386 V(LessThanOrEqual, Operator::kNoProperties, 2, 1) \ |
387 V(GreaterThanOrEqual, Operator::kNoProperties, 2, 1) \ | 387 V(GreaterThanOrEqual, Operator::kNoProperties, 2, 1) \ |
388 V(ToInteger, Operator::kNoProperties, 1, 1) \ | 388 V(ToInteger, Operator::kNoProperties, 1, 1) \ |
389 V(ToLength, Operator::kNoProperties, 1, 1) \ | 389 V(ToLength, Operator::kNoProperties, 1, 1) \ |
390 V(ToName, Operator::kNoProperties, 1, 1) \ | 390 V(ToName, Operator::kNoProperties, 1, 1) \ |
391 V(ToNumber, Operator::kNoProperties, 1, 1) \ | 391 V(ToNumber, Operator::kNoProperties, 1, 1) \ |
392 V(ToObject, Operator::kFoldable, 1, 1) \ | 392 V(ToObject, Operator::kFoldable, 1, 1) \ |
393 V(ToString, Operator::kNoProperties, 1, 1) \ | 393 V(ToString, Operator::kNoProperties, 1, 1) \ |
394 V(Yield, Operator::kNoProperties, 1, 1) \ | |
395 V(Create, Operator::kEliminatable, 2, 1) \ | 394 V(Create, Operator::kEliminatable, 2, 1) \ |
396 V(CreateIterResultObject, Operator::kEliminatable, 2, 1) \ | 395 V(CreateIterResultObject, Operator::kEliminatable, 2, 1) \ |
397 V(HasProperty, Operator::kNoProperties, 2, 1) \ | 396 V(HasProperty, Operator::kNoProperties, 2, 1) \ |
398 V(TypeOf, Operator::kPure, 1, 1) \ | 397 V(TypeOf, Operator::kPure, 1, 1) \ |
399 V(InstanceOf, Operator::kNoProperties, 2, 1) \ | 398 V(InstanceOf, Operator::kNoProperties, 2, 1) \ |
400 V(ForInDone, Operator::kPure, 2, 1) \ | 399 V(ForInDone, Operator::kPure, 2, 1) \ |
401 V(ForInNext, Operator::kNoProperties, 4, 1) \ | 400 V(ForInNext, Operator::kNoProperties, 4, 1) \ |
402 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ | 401 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ |
403 V(ForInStep, Operator::kPure, 1, 1) \ | 402 V(ForInStep, Operator::kPure, 1, 1) \ |
404 V(LoadMessage, Operator::kNoThrow, 0, 1) \ | 403 V(LoadMessage, Operator::kNoThrow, 0, 1) \ |
(...skipping 404 matching lines...) Loading... |
809 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- | 808 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- |
810 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode | 809 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode |
811 "JSCreateScriptContext", // name | 810 "JSCreateScriptContext", // name |
812 1, 1, 1, 1, 1, 2, // counts | 811 1, 1, 1, 1, 1, 2, // counts |
813 scpope_info); // parameter | 812 scpope_info); // parameter |
814 } | 813 } |
815 | 814 |
816 } // namespace compiler | 815 } // namespace compiler |
817 } // namespace internal | 816 } // namespace internal |
818 } // namespace v8 | 817 } // namespace v8 |
OLD | NEW |