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

Unified Diff: src/interpreter/interpreter-intrinsics-generator.cc

Issue 2913783002: [builtins] Begin removing CodeFactory accessors (Closed)
Patch Set: V8_EXPORT_PRIVATE Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/interpreter/interpreter-generator.cc ('k') | test/cctest/compiler/test-code-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter-intrinsics-generator.cc
diff --git a/src/interpreter/interpreter-intrinsics-generator.cc b/src/interpreter/interpreter-intrinsics-generator.cc
index 1f2816d2dbbc29908543028a1b89297c7cc59cae..db2c06c37c1c7cc2d0925a74f08ebe120a0333a2 100644
--- a/src/interpreter/interpreter-intrinsics-generator.cc
+++ b/src/interpreter/interpreter-intrinsics-generator.cc
@@ -293,7 +293,8 @@ Node* IntrinsicsGenerator::SubString(Node* input, Node* arg_count,
Node* IntrinsicsGenerator::ToString(Node* input, Node* arg_count,
Node* context) {
- return IntrinsicAsStubCall(input, context, CodeFactory::ToString(isolate()));
+ return IntrinsicAsStubCall(
+ input, context, Builtins::CallableFor(isolate(), Builtins::kToString));
}
Node* IntrinsicsGenerator::ToLength(Node* input, Node* arg_count,
@@ -313,7 +314,8 @@ Node* IntrinsicsGenerator::ToNumber(Node* input, Node* arg_count,
Node* IntrinsicsGenerator::ToObject(Node* input, Node* arg_count,
Node* context) {
- return IntrinsicAsStubCall(input, context, CodeFactory::ToObject(isolate()));
+ return IntrinsicAsStubCall(
+ input, context, Builtins::CallableFor(isolate(), Builtins::kToObject));
}
Node* IntrinsicsGenerator::Call(Node* args_reg, Node* arg_count,
« no previous file with comments | « src/interpreter/interpreter-generator.cc ('k') | test/cctest/compiler/test-code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698