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

Unified Diff: src/factory.cc

Issue 390833003: Remove PropertyAttributes from SetProperty (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/debug.cc ('k') | src/i18n.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 8c08ba1587f6d5fc4600fa716bfed0997d5b356d..36511d6ade409bfb019a484c94dfbaaaa8c1c914 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -2098,11 +2098,9 @@ Handle<JSObject> Factory::NewArgumentsObject(Handle<JSFunction> callee,
ASSERT(!isolate()->has_pending_exception());
Handle<JSObject> result = NewJSObjectFromMap(map);
Handle<Smi> value(Smi::FromInt(length), isolate());
- JSReceiver::SetProperty(result, length_string(), value, NONE, STRICT)
- .Assert();
+ JSReceiver::SetProperty(result, length_string(), value, STRICT).Assert();
if (!strict_mode_callee) {
- JSReceiver::SetProperty(result, callee_string(), callee, NONE, STRICT)
- .Assert();
+ JSReceiver::SetProperty(result, callee_string(), callee, STRICT).Assert();
}
return result;
}
« no previous file with comments | « src/debug.cc ('k') | src/i18n.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698