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

Unified Diff: src/harmony-object.js

Issue 1266013006: [stubs] Unify (and optimize) implementation of ToObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add missing support for %_ToObject in TurboFan and Crankshaft. Created 5 years, 5 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 | « src/harmony-array-includes.js ('k') | src/hydrogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-object.js
diff --git a/src/harmony-object.js b/src/harmony-object.js
index 382f7f4252b27e3761e85a8be1af2c62fb52082f..e0555ba1125950abe314105f498781d0054313fe 100644
--- a/src/harmony-object.js
+++ b/src/harmony-object.js
@@ -24,7 +24,7 @@ utils.Import(function(from) {
// ES6, draft 04-03-15, section 19.1.2.1
function ObjectAssign(target, sources) {
- var to = TO_OBJECT_INLINE(target);
+ var to = TO_OBJECT(target);
var argsLen = %_ArgumentsLength();
if (argsLen < 2) return to;
@@ -34,7 +34,7 @@ function ObjectAssign(target, sources) {
continue;
}
- var from = TO_OBJECT_INLINE(nextSource);
+ var from = TO_OBJECT(nextSource);
var keys = OwnPropertyKeys(from);
var len = keys.length;
« no previous file with comments | « src/harmony-array-includes.js ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698