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

Unified Diff: src/objects.h

Issue 1366063002: [es6] Remove left-overs from Function.prototype.toMethod. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 6f849584a8feb534877d4097ec87273d31244dc2..6838f275b9643089032532046f816e5335797637 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7141,11 +7141,6 @@ class JSFunction: public JSObject {
static void SetInstancePrototype(Handle<JSFunction> function,
Handle<Object> value);
- // Creates a new closure for the fucntion with the same bindings,
- // bound values, and prototype. An equivalent of spec operations
- // ``CloneMethod`` and ``CloneBoundFunction``.
- static Handle<JSFunction> CloneClosure(Handle<JSFunction> function);
-
// After prototype is removed, it will not be created when accessed, and
// [[Construct]] from this function will not be allowed.
bool RemovePrototype();
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698