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

Unified Diff: src/factory.h

Issue 255003002: Make CreateInitialObjects more concise. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 | src/factory.cc » ('j') | src/heap.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 041c9869756ffe48d9373b8ed6a12bd82aceb27e..dec5fb392df818c768c00a95c411a621d1888fda 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -346,7 +346,9 @@ class Factory V8_FINAL {
// These objects are used by the api to create env-independent data
// structures in the heap.
- Handle<JSObject> NewNeanderObject();
+ Handle<JSObject> NewNeanderObject() {
Igor Sheludko 2014/04/28 15:56:08 inline?
+ return NewJSObjectFromMap(neander_map());
+ }
Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length);
« no previous file with comments | « no previous file | src/factory.cc » ('j') | src/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698