From f1971a8ff50b0c454f7a6da92316f70ea2bcbe10 Mon Sep 17 00:00:00 2001 From: Godhuda Date: Mon, 22 Aug 2016 21:07:54 -0700 Subject: [PATCH] Fix isObject deopt This deopts the ChainNode constructor because inlining Fixes #14113 --- packages/ember-metal/lib/chains.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember-metal/lib/chains.js b/packages/ember-metal/lib/chains.js index 9e2655657f9..64614f4e6f3 100644 --- a/packages/ember-metal/lib/chains.js +++ b/packages/ember-metal/lib/chains.js @@ -10,7 +10,7 @@ function firstKey(path) { } function isObject(obj) { - return obj && (typeof obj === 'object'); + return typeof obj === 'object' && obj; } function isVolatile(obj) {