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

Side by Side Diff: src/objects.h

Issue 1994183002: [json] handle proxies in BasicJsonSerializer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: address comments Created 4 years, 7 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/json-stringifier.h ('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 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 Handle<Object> input); 1170 Handle<Object> input);
1171 1171
1172 // ES6 section 7.3.9 GetMethod 1172 // ES6 section 7.3.9 GetMethod
1173 MUST_USE_RESULT static MaybeHandle<Object> GetMethod( 1173 MUST_USE_RESULT static MaybeHandle<Object> GetMethod(
1174 Handle<JSReceiver> receiver, Handle<Name> name); 1174 Handle<JSReceiver> receiver, Handle<Name> name);
1175 1175
1176 // ES6 section 7.3.17 CreateListFromArrayLike 1176 // ES6 section 7.3.17 CreateListFromArrayLike
1177 MUST_USE_RESULT static MaybeHandle<FixedArray> CreateListFromArrayLike( 1177 MUST_USE_RESULT static MaybeHandle<FixedArray> CreateListFromArrayLike(
1178 Isolate* isolate, Handle<Object> object, ElementTypes element_types); 1178 Isolate* isolate, Handle<Object> object, ElementTypes element_types);
1179 1179
1180 // Get length property and apply ToLength.
1181 MUST_USE_RESULT static MaybeHandle<Object> GetLengthFromArrayLike(
1182 Isolate* isolate, Handle<Object> object);
1183
1180 // Check whether |object| is an instance of Error or NativeError. 1184 // Check whether |object| is an instance of Error or NativeError.
1181 static bool IsErrorObject(Isolate* isolate, Handle<Object> object); 1185 static bool IsErrorObject(Isolate* isolate, Handle<Object> object);
1182 1186
1183 // ES6 section 12.5.6 The typeof Operator 1187 // ES6 section 12.5.6 The typeof Operator
1184 static Handle<String> TypeOf(Isolate* isolate, Handle<Object> object); 1188 static Handle<String> TypeOf(Isolate* isolate, Handle<Object> object);
1185 1189
1186 // ES6 section 12.6 Multiplicative Operators 1190 // ES6 section 12.6 Multiplicative Operators
1187 MUST_USE_RESULT static MaybeHandle<Object> Multiply(Isolate* isolate, 1191 MUST_USE_RESULT static MaybeHandle<Object> Multiply(Isolate* isolate,
1188 Handle<Object> lhs, 1192 Handle<Object> lhs,
1189 Handle<Object> rhs); 1193 Handle<Object> rhs);
(...skipping 9557 matching lines...) Expand 10 before | Expand all | Expand 10 after
10747 } 10751 }
10748 return value; 10752 return value;
10749 } 10753 }
10750 }; 10754 };
10751 10755
10752 10756
10753 } // NOLINT, false-positive due to second-order macros. 10757 } // NOLINT, false-positive due to second-order macros.
10754 } // NOLINT, false-positive due to second-order macros. 10758 } // NOLINT, false-positive due to second-order macros.
10755 10759
10756 #endif // V8_OBJECTS_H_ 10760 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/json-stringifier.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698