| 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" |
| 11 #include "src/compiler/operator.h" | 11 #include "src/compiler/operator.h" |
| 12 #include "src/handles-inl.h" | 12 #include "src/handles-inl.h" |
| 13 #include "src/objects-inl.h" |
| 13 #include "src/type-feedback-vector.h" | 14 #include "src/type-feedback-vector.h" |
| 14 | 15 |
| 15 namespace v8 { | 16 namespace v8 { |
| 16 namespace internal { | 17 namespace internal { |
| 17 namespace compiler { | 18 namespace compiler { |
| 18 | 19 |
| 19 VectorSlotPair::VectorSlotPair() {} | 20 VectorSlotPair::VectorSlotPair() {} |
| 20 | 21 |
| 21 | 22 |
| 22 int VectorSlotPair::index() const { | 23 int VectorSlotPair::index() const { |
| (...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1001 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- | 1002 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- |
| 1002 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode | 1003 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode |
| 1003 "JSCreateScriptContext", // name | 1004 "JSCreateScriptContext", // name |
| 1004 1, 1, 1, 1, 1, 2, // counts | 1005 1, 1, 1, 1, 1, 2, // counts |
| 1005 scope_info); // parameter | 1006 scope_info); // parameter |
| 1006 } | 1007 } |
| 1007 | 1008 |
| 1008 } // namespace compiler | 1009 } // namespace compiler |
| 1009 } // namespace internal | 1010 } // namespace internal |
| 1010 } // namespace v8 | 1011 } // namespace v8 |
| OLD | NEW |