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

Unified Diff: src/objects-inl.h

Issue 1417213005: Remove several JSFunction delegator functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/objects.cc ('k') | src/runtime-profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index e893b2c492cd47ac8e7599535b6eb4fbe55dd1b4..d100894575d4c52c4cc2fb09602a20ba072e6239 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -6221,20 +6221,6 @@ bool SharedFunctionInfo::IsBuiltin() {
bool SharedFunctionInfo::IsSubjectToDebugging() { return !IsBuiltin(); }
-bool JSFunction::IsBuiltin() { return shared()->IsBuiltin(); }
-
-
-bool JSFunction::IsSubjectToDebugging() {
- return shared()->IsSubjectToDebugging();
-}
-
-
-bool JSFunction::NeedsArgumentsAdaption() {
- return shared()->internal_formal_parameter_count() !=
- SharedFunctionInfo::kDontAdaptArgumentsSentinel;
-}
-
-
bool JSFunction::IsOptimized() {
return code()->kind() == Code::OPTIMIZED_FUNCTION;
}
@@ -6382,11 +6368,6 @@ bool JSFunction::is_compiled() {
}
-bool JSFunction::has_simple_parameters() {
- return shared()->has_simple_parameters();
-}
-
-
LiteralsArray* JSFunction::literals() {
DCHECK(!shared()->bound());
return LiteralsArray::cast(literals_or_bindings());
« no previous file with comments | « src/objects.cc ('k') | src/runtime-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698