@@ -17,7 +17,6 @@ import { isUpdatingChildComponent } from './lifecycle'
1717
1818export function initRender ( vm :Component ) {
1919vm . _vnode = null // the root of the child tree
20- vm . _staticTrees = null
2120const parentVnode = vm . $vnode = vm . $options . _parentVnode // the placeholder node in parent tree
2221const renderContext = parentVnode && parentVnode . context
2322vm . $slots = resolveSlots ( vm . $options . _renderChildren , renderContext )
@@ -59,11 +58,7 @@ export function renderMixin (Vue: Class<Component>) {
5958
6059Vue . prototype . _render = function ( ) :VNode {
6160const vm :Component = this
62- const {
63- render,
64- staticRenderFns,
65- _parentVnode
66- } = vm . $options
61+ const { render, _parentVnode} = vm . $options
6762
6863if ( vm . _isMounted ) {
6964// if the parent didn't update, the slot nodes will be the ones from
@@ -78,9 +73,6 @@ export function renderMixin (Vue: Class<Component>) {
7873
7974vm . $scopedSlots = ( _parentVnode && _parentVnode . data . scopedSlots ) || emptyObject
8075
81- if ( staticRenderFns && ! vm . _staticTrees ) {
82- vm . _staticTrees = [ ]
83- }
8476// set parent vnode. this allows render functions to have access
8577// to the data on the placeholder node.
8678vm . $vnode = _parentVnode