| 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 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
| 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ | 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
| 7 | 7 |
| 8 #include "src/compiler/instruction.h" | 8 #include "src/compiler/instruction.h" |
| 9 #include "src/compiler/instruction-selector.h" | 9 #include "src/compiler/instruction-selector.h" |
| 10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 InstructionOperandVector instruction_args; | 341 InstructionOperandVector instruction_args; |
| 342 NodeVector pushed_nodes; | 342 NodeVector pushed_nodes; |
| 343 | 343 |
| 344 size_t input_count() const { return descriptor->InputCount(); } | 344 size_t input_count() const { return descriptor->InputCount(); } |
| 345 | 345 |
| 346 size_t frame_state_count() const { return descriptor->FrameStateCount(); } | 346 size_t frame_state_count() const { return descriptor->FrameStateCount(); } |
| 347 | 347 |
| 348 size_t frame_state_value_count() const { | 348 size_t frame_state_value_count() const { |
| 349 return (frame_state_descriptor == NULL) | 349 return (frame_state_descriptor == NULL) |
| 350 ? 0 | 350 ? 0 |
| 351 : (frame_state_descriptor->total_size() + | 351 : (frame_state_descriptor->GetTotalSize() + |
| 352 1); // Include deopt id. | 352 1); // Include deopt id. |
| 353 } | 353 } |
| 354 }; | 354 }; |
| 355 | 355 |
| 356 } // namespace compiler | 356 } // namespace compiler |
| 357 } // namespace internal | 357 } // namespace internal |
| 358 } // namespace v8 | 358 } // namespace v8 |
| 359 | 359 |
| 360 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ | 360 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
| OLD | NEW |