Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 9511) |
+++ src/factory.h (working copy) |
@@ -449,6 +449,9 @@ |
// Returns a null handle when the given name is unknown. |
Handle<Object> GlobalConstantFor(Handle<String> name); |
+ // Converts the given boolean condition to JavaScript boolean value. |
+ Handle<Object> ToBoolean(bool value); |
+ |
private: |
Isolate* isolate() { return reinterpret_cast<Isolate*>(this); } |