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

Unified Diff: runtime/vm/object.h

Issue 50983002: Implement fromEnvironment on bool, int and String (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 1a2e1d20b5957ae7c775ace520d48a6b86895c94..d49d5bd89caf28d38f53f8f4b1cbacb9374c0920 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4361,6 +4361,7 @@ class Integer : public Number {
// Returns a canonical Integer object allocated in the old gen space.
static RawInteger* NewCanonical(const String& str);
+ static RawInteger* NewCanonical(int64_t value);
Ivan Posva 2013/10/29 21:42:59 ditto
Søren Gjesse 2013/10/30 11:44:02 Done.
// Do not throw JavascriptIntegerOverflow if 'silent' is true.
static RawInteger* New(int64_t value,

Powered by Google App Engine
This is Rietveld 408576698