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

Unified Diff: src/factory.cc

Issue 1675223002: Mark maps having a hidden prototype rather than maps of hidden prototypes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment Created 4 years, 10 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/debug/debug-evaluate.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index fc40fe6c2dd1cdbf9d3f1299793d53518737afd2..09a473c3f1265f8d0020984d87a65726fe2b6938 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1956,9 +1956,9 @@ MaybeHandle<JSBoundFunction> Factory::NewJSBoundFunction(
// Determine the prototype of the {target_function}.
Handle<Object> prototype;
- ASSIGN_RETURN_ON_EXCEPTION(isolate(), prototype,
- Object::GetPrototype(isolate(), target_function),
- JSBoundFunction);
+ ASSIGN_RETURN_ON_EXCEPTION(
+ isolate(), prototype,
+ JSReceiver::GetPrototype(isolate(), target_function), JSBoundFunction);
// Create the [[BoundArguments]] for the result.
Handle<FixedArray> bound_arguments;
« no previous file with comments | « src/debug/debug-evaluate.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698