Chromium Code Reviews| Index: src/objects-inl.h |
| =================================================================== |
| --- src/objects-inl.h (revision 4439) |
| +++ src/objects-inl.h (working copy) |
| @@ -2491,11 +2491,6 @@ |
| } |
| -bool JSFunction::IsBoilerplate() { |
| - return map() == Heap::boilerplate_function_map(); |
| -} |
| - |
| - |
| bool JSFunction::IsBuiltin() { |
| return context()->global()->IsJSBuiltinsObject(); |
| } |
| @@ -2580,7 +2575,6 @@ |
| int JSFunction::NumberOfLiterals() { |
| - ASSERT(!IsBoilerplate()); |
| return literals()->length(); |
| } |