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

Side by Side Diff: src/objects.h

Issue 2206573002: Move NoSideEffectToString to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/messages.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 Handle<Object> input); 1187 Handle<Object> input);
1188 1188
1189 // ES6 section 7.1.6 ToUint32 1189 // ES6 section 7.1.6 ToUint32
1190 MUST_USE_RESULT static MaybeHandle<Object> ToUint32(Isolate* isolate, 1190 MUST_USE_RESULT static MaybeHandle<Object> ToUint32(Isolate* isolate,
1191 Handle<Object> input); 1191 Handle<Object> input);
1192 1192
1193 // ES6 section 7.1.12 ToString 1193 // ES6 section 7.1.12 ToString
1194 MUST_USE_RESULT static MaybeHandle<String> ToString(Isolate* isolate, 1194 MUST_USE_RESULT static MaybeHandle<String> ToString(Isolate* isolate,
1195 Handle<Object> input); 1195 Handle<Object> input);
1196 1196
1197 static Handle<String> NoSideEffectsToString(Isolate* isolate,
1198 Handle<Object> input);
1199
1197 // ES6 section 7.1.14 ToPropertyKey 1200 // ES6 section 7.1.14 ToPropertyKey
1198 MUST_USE_RESULT static MaybeHandle<Object> ToPropertyKey( 1201 MUST_USE_RESULT static MaybeHandle<Object> ToPropertyKey(
1199 Isolate* isolate, Handle<Object> value); 1202 Isolate* isolate, Handle<Object> value);
1200 1203
1201 // ES6 section 7.1.15 ToLength 1204 // ES6 section 7.1.15 ToLength
1202 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate, 1205 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate,
1203 Handle<Object> input); 1206 Handle<Object> input);
1204 1207
1205 // ES6 section 7.3.9 GetMethod 1208 // ES6 section 7.3.9 GetMethod
1206 MUST_USE_RESULT static MaybeHandle<Object> GetMethod( 1209 MUST_USE_RESULT static MaybeHandle<Object> GetMethod(
(...skipping 9844 matching lines...) Expand 10 before | Expand all | Expand 10 after
11051 } 11054 }
11052 return value; 11055 return value;
11053 } 11056 }
11054 }; 11057 };
11055 11058
11056 11059
11057 } // NOLINT, false-positive due to second-order macros. 11060 } // NOLINT, false-positive due to second-order macros.
11058 } // NOLINT, false-positive due to second-order macros. 11061 } // NOLINT, false-positive due to second-order macros.
11059 11062
11060 #endif // V8_OBJECTS_H_ 11063 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/messages.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698