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

Unified Diff: src/objects.h

Issue 2587373002: Revert of [runtime] Add fast-paths for common conversion methods (Closed)
Patch Set: Created 4 years 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/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index d0529347b16f7c9d3ed00add81dddc8a9b5f60b3..5be6657e263f756374eddecd7ee35e64e4355b1f 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1313,15 +1313,15 @@
Handle<Object> input);
// ES6 section 7.1.14 ToPropertyKey
- MUST_USE_RESULT static inline MaybeHandle<Object> ToPropertyKey(
+ MUST_USE_RESULT static MaybeHandle<Object> ToPropertyKey(
Isolate* isolate, Handle<Object> value);
// ES6 section 7.1.15 ToLength
- MUST_USE_RESULT static inline MaybeHandle<Object> ToLength(
- Isolate* isolate, Handle<Object> input);
+ MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate,
+ Handle<Object> input);
// ES6 section 7.1.17 ToIndex
- MUST_USE_RESULT static inline MaybeHandle<Object> ToIndex(
+ MUST_USE_RESULT static MaybeHandle<Object> ToIndex(
Isolate* isolate, Handle<Object> input,
MessageTemplate::Template error_index);
@@ -1556,8 +1556,6 @@
MUST_USE_RESULT static MaybeHandle<Name> ConvertToName(Isolate* isolate,
Handle<Object> input);
- MUST_USE_RESULT static MaybeHandle<Object> ConvertToPropertyKey(
- Isolate* isolate, Handle<Object> value);
MUST_USE_RESULT static MaybeHandle<String> ConvertToString(
Isolate* isolate, Handle<Object> input);
MUST_USE_RESULT static MaybeHandle<Object> ConvertToNumber(
@@ -1568,12 +1566,6 @@
Isolate* isolate, Handle<Object> input);
MUST_USE_RESULT static MaybeHandle<Object> ConvertToUint32(
Isolate* isolate, Handle<Object> input);
- MUST_USE_RESULT static MaybeHandle<Object> ConvertToLength(
- Isolate* isolate, Handle<Object> input);
- MUST_USE_RESULT static MaybeHandle<Object> ConvertToIndex(
- Isolate* isolate, Handle<Object> input,
- MessageTemplate::Template error_index);
-
DISALLOW_IMPLICIT_CONSTRUCTORS(Object);
};
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698