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

Unified Diff: src/interpreter/interpreter-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/full-codegen/full-codegen.cc ('k') | src/interpreter/interpreter-intrinsics-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter-generator.cc
diff --git a/src/interpreter/interpreter-generator.cc b/src/interpreter/interpreter-generator.cc
index eb65d06a96fe7dc7d351cecc22b06c9b72b2de0b..85a15b2389b9cff57452cd0957b7e6be093fdd1a 100644
--- a/src/interpreter/interpreter-generator.cc
+++ b/src/interpreter/interpreter-generator.cc
@@ -1460,7 +1460,7 @@ IGNITION_HANDLER(ToNumber, InterpreterAssembler) {
//
// Convert the object referenced by the accumulator to a JSReceiver.
IGNITION_HANDLER(ToObject, InterpreterAssembler) {
- Callable callable(CodeFactory::ToObject(isolate()));
+ Callable callable = Builtins::CallableFor(isolate(), Builtins::kToObject);
Node* target = HeapConstant(callable.code());
Node* accumulator = GetAccumulator();
Node* context = GetContext();
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/interpreter/interpreter-intrinsics-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698