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

Unified Diff: src/full-codegen/full-codegen.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/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/interpreter/interpreter-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index 4d0dd3d5894f96bd7994d5333ba34e1d0b51917d..18d578edb2d489e0532e3b0658786fc049728f87 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -614,7 +614,8 @@ void FullCodeGenerator::EmitIntrinsicAsStubCall(CallRuntime* expr,
void FullCodeGenerator::EmitToString(CallRuntime* expr) {
- EmitIntrinsicAsStubCall(expr, CodeFactory::ToString(isolate()));
+ EmitIntrinsicAsStubCall(
+ expr, Builtins::CallableFor(isolate(), Builtins::kToString));
}
@@ -632,7 +633,8 @@ void FullCodeGenerator::EmitToNumber(CallRuntime* expr) {
void FullCodeGenerator::EmitToObject(CallRuntime* expr) {
- EmitIntrinsicAsStubCall(expr, CodeFactory::ToObject(isolate()));
+ EmitIntrinsicAsStubCall(
+ expr, Builtins::CallableFor(isolate(), Builtins::kToObject));
}
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/interpreter/interpreter-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698