OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/interpreter-assembler.h" | 5 #include "src/compiler/interpreter-assembler.h" |
6 | 6 |
7 #include <ostream> | 7 #include <ostream> |
8 | 8 |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 | 364 |
365 Node* InterpreterAssembler::IntPtrAdd(Node* a, Node* b) { | 365 Node* InterpreterAssembler::IntPtrAdd(Node* a, Node* b) { |
366 return raw_assembler_->IntPtrAdd(a, b); | 366 return raw_assembler_->IntPtrAdd(a, b); |
367 } | 367 } |
368 | 368 |
369 | 369 |
370 Node* InterpreterAssembler::IntPtrSub(Node* a, Node* b) { | 370 Node* InterpreterAssembler::IntPtrSub(Node* a, Node* b) { |
371 return raw_assembler_->IntPtrSub(a, b); | 371 return raw_assembler_->IntPtrSub(a, b); |
372 } | 372 } |
373 | 373 |
| 374 Node* InterpreterAssembler::Int32Sub(Node* a, Node* b) { |
| 375 return raw_assembler_->Int32Sub(a, b); |
| 376 } |
374 | 377 |
375 Node* InterpreterAssembler::WordShl(Node* value, int shift) { | 378 Node* InterpreterAssembler::WordShl(Node* value, int shift) { |
376 return raw_assembler_->WordShl(value, Int32Constant(shift)); | 379 return raw_assembler_->WordShl(value, Int32Constant(shift)); |
377 } | 380 } |
378 | 381 |
379 | 382 |
380 Node* InterpreterAssembler::LoadConstantPoolEntry(Node* index) { | 383 Node* InterpreterAssembler::LoadConstantPoolEntry(Node* index) { |
381 Node* constant_pool = LoadObjectField(BytecodeArrayTaggedPointer(), | 384 Node* constant_pool = LoadObjectField(BytecodeArrayTaggedPointer(), |
382 BytecodeArray::kConstantPoolOffset); | 385 BytecodeArray::kConstantPoolOffset); |
383 Node* entry_offset = | 386 Node* entry_offset = |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 return raw_assembler_->call_descriptor(); | 751 return raw_assembler_->call_descriptor(); |
749 } | 752 } |
750 | 753 |
751 | 754 |
752 Zone* InterpreterAssembler::zone() { return raw_assembler_->zone(); } | 755 Zone* InterpreterAssembler::zone() { return raw_assembler_->zone(); } |
753 | 756 |
754 | 757 |
755 } // namespace compiler | 758 } // namespace compiler |
756 } // namespace internal | 759 } // namespace internal |
757 } // namespace v8 | 760 } // namespace v8 |
OLD | NEW |