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

Unified Diff: src/objects.cc

Issue 23262002: Store copied value rather than the original double. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | « no previous file | test/mjsunit/regress/regress-convert-function-to-double.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 995ed36f0228b9982dd08f50fc9ef0dd54406b9d..38d8647b525c8cb56549af9758848ed887c194dc 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -2231,7 +2231,7 @@ MaybeObject* JSObject::ConvertDescriptorToField(Name* name,
if (new_properties != NULL) {
set_properties(new_properties);
}
- FastPropertyAtPut(index, new_value);
+ FastPropertyAtPut(index, storage);
return new_value;
}
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-convert-function-to-double.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698