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

Unified Diff: src/factory.h

Issue 2152693002: [stubs] Introduce NonPrimitiveToPrimitive builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. Created 4 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/compiler/code-assembler.cc ('k') | src/factory.cc » ('j') | no next file with comments »
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 16fc7389f7bc4e9159e1d2bd9ce6fd7191fa9ec0..172f473a11fec0d337081193530da29649cbe508 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -684,6 +684,9 @@ class Factory final {
// Converts the given boolean condition to JavaScript boolean value.
Handle<Object> ToBoolean(bool value);
+ // Converts the given ToPrimitive hint to it's string representation.
+ Handle<String> ToPrimitiveHintString(ToPrimitiveHint hint);
+
private:
Isolate* isolate() { return reinterpret_cast<Isolate*>(this); }
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698