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

Unified Diff: src/factory.h

Issue 7992002: Improve Hydrogen code for accessing undefined/null/Infinity. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 3 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
===================================================================
--- src/factory.h (revision 9392)
+++ src/factory.h (working copy)
@@ -444,6 +444,10 @@
JSRegExp::Flags flags,
int capture_count);
+ // Returns the value for a known global constant like 'undefined' or
+ // a null handle when the given name is unknown.
Steven 2011/09/22 13:57:23 Add a comment that those properties of the global
Sven Panne 2011/09/23 07:59:49 Done.
+ Handle<Object> GlobalConstantFor(Handle<String> name);
+
private:
Isolate* isolate() { return reinterpret_cast<Isolate*>(this); }
« 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