Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: src/compiler/code-assembler.cc

Issue 2375953002: [regexp] Port RegExp.prototype.exec to TurboFan (Closed)
Patch Set: Address comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/contexts.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 } 458 }
459 459
460 Node* CodeAssembler::CallStub(Callable const& callable, Node* context, 460 Node* CodeAssembler::CallStub(Callable const& callable, Node* context,
461 Node* arg1, Node* arg2, Node* arg3, 461 Node* arg1, Node* arg2, Node* arg3,
462 size_t result_size) { 462 size_t result_size) {
463 Node* target = HeapConstant(callable.code()); 463 Node* target = HeapConstant(callable.code());
464 return CallStub(callable.descriptor(), target, context, arg1, arg2, arg3, 464 return CallStub(callable.descriptor(), target, context, arg1, arg2, arg3,
465 result_size); 465 result_size);
466 } 466 }
467 467
468 Node* CodeAssembler::CallStub(Callable const& callable, Node* context,
469 Node* arg1, Node* arg2, Node* arg3, Node* arg4,
470 size_t result_size) {
471 Node* target = HeapConstant(callable.code());
472 return CallStub(callable.descriptor(), target, context, arg1, arg2, arg3,
473 arg4, result_size);
474 }
475
468 Node* CodeAssembler::CallStubN(Callable const& callable, Node** args, 476 Node* CodeAssembler::CallStubN(Callable const& callable, Node** args,
469 size_t result_size) { 477 size_t result_size) {
470 Node* target = HeapConstant(callable.code()); 478 Node* target = HeapConstant(callable.code());
471 return CallStubN(callable.descriptor(), target, args, result_size); 479 return CallStubN(callable.descriptor(), target, args, result_size);
472 } 480 }
473 481
474 Node* CodeAssembler::CallStub(const CallInterfaceDescriptor& descriptor, 482 Node* CodeAssembler::CallStub(const CallInterfaceDescriptor& descriptor,
475 Node* target, Node* context, size_t result_size) { 483 Node* target, Node* context, size_t result_size) {
476 CallDescriptor* call_descriptor = Linkage::GetStubCallDescriptor( 484 CallDescriptor* call_descriptor = Linkage::GetStubCallDescriptor(
477 isolate(), zone(), descriptor, descriptor.GetStackParameterCount(), 485 isolate(), zone(), descriptor, descriptor.GetStackParameterCount(),
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 } 1117 }
1110 } 1118 }
1111 } 1119 }
1112 1120
1113 bound_ = true; 1121 bound_ = true;
1114 } 1122 }
1115 1123
1116 } // namespace compiler 1124 } // namespace compiler
1117 } // namespace internal 1125 } // namespace internal
1118 } // namespace v8 1126 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698