| 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/code-assembler.h" | 5 #include "src/compiler/code-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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 Node* CodeAssembler::CallRuntime(Runtime::FunctionId function_id, Node* context, | 409 Node* CodeAssembler::CallRuntime(Runtime::FunctionId function_id, Node* context, |
| 410 Node* arg1, Node* arg2, Node* arg3, | 410 Node* arg1, Node* arg2, Node* arg3, |
| 411 Node* arg4) { | 411 Node* arg4) { |
| 412 CallPrologue(); | 412 CallPrologue(); |
| 413 Node* return_value = raw_assembler_->CallRuntime4(function_id, arg1, arg2, | 413 Node* return_value = raw_assembler_->CallRuntime4(function_id, arg1, arg2, |
| 414 arg3, arg4, context); | 414 arg3, arg4, context); |
| 415 CallEpilogue(); | 415 CallEpilogue(); |
| 416 return return_value; | 416 return return_value; |
| 417 } | 417 } |
| 418 | 418 |
| 419 Node* CodeAssembler::CallRuntime(Runtime::FunctionId function_id, Node* context, |
| 420 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
| 421 Node* arg5) { |
| 422 CallPrologue(); |
| 423 Node* return_value = raw_assembler_->CallRuntime5(function_id, arg1, arg2, |
| 424 arg3, arg4, arg5, context); |
| 425 CallEpilogue(); |
| 426 return return_value; |
| 427 } |
| 428 |
| 419 Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id, | 429 Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id, |
| 420 Node* context) { | 430 Node* context) { |
| 421 return raw_assembler_->TailCallRuntime0(function_id, context); | 431 return raw_assembler_->TailCallRuntime0(function_id, context); |
| 422 } | 432 } |
| 423 | 433 |
| 424 Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id, | 434 Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id, |
| 425 Node* context, Node* arg1) { | 435 Node* context, Node* arg1) { |
| 426 return raw_assembler_->TailCallRuntime1(function_id, arg1, context); | 436 return raw_assembler_->TailCallRuntime1(function_id, arg1, context); |
| 427 } | 437 } |
| 428 | 438 |
| (...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1179 } | 1189 } |
| 1180 } | 1190 } |
| 1181 } | 1191 } |
| 1182 | 1192 |
| 1183 bound_ = true; | 1193 bound_ = true; |
| 1184 } | 1194 } |
| 1185 | 1195 |
| 1186 } // namespace compiler | 1196 } // namespace compiler |
| 1187 } // namespace internal | 1197 } // namespace internal |
| 1188 } // namespace v8 | 1198 } // namespace v8 |
| OLD | NEW |