| 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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   425                                           context); |   425                                           context); | 
|   426 } |   426 } | 
|   427  |   427  | 
|   428 Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id, |   428 Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id, | 
|   429                                      Node* context, Node* arg1, Node* arg2, |   429                                      Node* context, Node* arg1, Node* arg2, | 
|   430                                      Node* arg3, Node* arg4, Node* arg5) { |   430                                      Node* arg3, Node* arg4, Node* arg5) { | 
|   431   return raw_assembler_->TailCallRuntime5(function_id, arg1, arg2, arg3, arg4, |   431   return raw_assembler_->TailCallRuntime5(function_id, arg1, arg2, arg3, arg4, | 
|   432                                           arg5, context); |   432                                           arg5, context); | 
|   433 } |   433 } | 
|   434  |   434  | 
 |   435 Node* CodeAssembler::TailCallRuntime(Runtime::FunctionId function_id, | 
 |   436                                      Node* context, Node* arg1, Node* arg2, | 
 |   437                                      Node* arg3, Node* arg4, Node* arg5, | 
 |   438                                      Node* arg6) { | 
 |   439   return raw_assembler_->TailCallRuntime6(function_id, arg1, arg2, arg3, arg4, | 
 |   440                                           arg5, arg6, context); | 
 |   441 } | 
 |   442  | 
|   435 Node* CodeAssembler::CallStub(Callable const& callable, Node* context, |   443 Node* CodeAssembler::CallStub(Callable const& callable, Node* context, | 
|   436                               Node* arg1, size_t result_size) { |   444                               Node* arg1, size_t result_size) { | 
|   437   Node* target = HeapConstant(callable.code()); |   445   Node* target = HeapConstant(callable.code()); | 
|   438   return CallStub(callable.descriptor(), target, context, arg1, result_size); |   446   return CallStub(callable.descriptor(), target, context, arg1, result_size); | 
|   439 } |   447 } | 
|   440  |   448  | 
|   441 Node* CodeAssembler::CallStub(Callable const& callable, Node* context, |   449 Node* CodeAssembler::CallStub(Callable const& callable, Node* context, | 
|   442                               Node* arg1, Node* arg2, size_t result_size) { |   450                               Node* arg1, Node* arg2, size_t result_size) { | 
|   443   Node* target = HeapConstant(callable.code()); |   451   Node* target = HeapConstant(callable.code()); | 
|   444   return CallStub(callable.descriptor(), target, context, arg1, arg2, |   452   return CallStub(callable.descriptor(), target, context, arg1, arg2, | 
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1079       } |  1087       } | 
|  1080     } |  1088     } | 
|  1081   } |  1089   } | 
|  1082  |  1090  | 
|  1083   bound_ = true; |  1091   bound_ = true; | 
|  1084 } |  1092 } | 
|  1085  |  1093  | 
|  1086 }  // namespace compiler |  1094 }  // namespace compiler | 
|  1087 }  // namespace internal |  1095 }  // namespace internal | 
|  1088 }  // namespace v8 |  1096 }  // namespace v8 | 
| OLD | NEW |