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

Side by Side Diff: src/messages.h

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: fix runtime function argument type 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 unified diff | Download patch
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // The infrastructure used for (localized) message reporting in V8. 5 // The infrastructure used for (localized) message reporting in V8.
6 // 6 //
7 // Note: there's a big unresolved issue about ownership of the data 7 // Note: there's a big unresolved issue about ownership of the data
8 // structures used by this framework. 8 // structures used by this framework.
9 9
10 #ifndef V8_MESSAGES_H_ 10 #ifndef V8_MESSAGES_H_
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \ 322 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \
323 T(NotAnIterator, "% is not an iterator") \ 323 T(NotAnIterator, "% is not an iterator") \
324 T(NotAPromise, "% is not a promise") \ 324 T(NotAPromise, "% is not a promise") \
325 T(NotConstructor, "% is not a constructor") \ 325 T(NotConstructor, "% is not a constructor") \
326 T(NotDateObject, "this is not a Date object.") \ 326 T(NotDateObject, "this is not a Date object.") \
327 T(NotIntlObject, "% is not an i18n object.") \ 327 T(NotIntlObject, "% is not an i18n object.") \
328 T(NotGeneric, "% is not generic") \ 328 T(NotGeneric, "% is not generic") \
329 T(NotIterable, "% is not iterable") \ 329 T(NotIterable, "% is not iterable") \
330 T(NotPropertyName, "% is not a valid property name") \ 330 T(NotPropertyName, "% is not a valid property name") \
331 T(NotTypedArray, "this is not a typed array.") \ 331 T(NotTypedArray, "this is not a typed array.") \
332 T(NotSharedTypedArray, "% is not a shared typed array.") \ 332 T(NotSuperConstructor, "Super constructor % of % is not a constructor.") \
333 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \ 333 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \
334 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \ 334 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \
335 T(ObjectGetterExpectingFunction, \ 335 T(ObjectGetterExpectingFunction, \
336 "Object.prototype.__defineGetter__: Expecting function") \ 336 "Object.prototype.__defineGetter__: Expecting function") \
337 T(ObjectGetterCallable, "Getter must be a function: %") \ 337 T(ObjectGetterCallable, "Getter must be a function: %") \
338 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \ 338 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \
339 T(ObjectSetterExpectingFunction, \ 339 T(ObjectSetterExpectingFunction, \
340 "Object.prototype.__defineSetter__: Expecting function") \ 340 "Object.prototype.__defineSetter__: Expecting function") \
341 T(ObjectSetterCallable, "Setter must be a function: %") \ 341 T(ObjectSetterCallable, "Setter must be a function: %") \
342 T(OrdinaryFunctionCalledAsConstructor, \ 342 T(OrdinaryFunctionCalledAsConstructor, \
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 704 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
705 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate, 705 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate,
706 Handle<Object> data); 706 Handle<Object> data);
707 }; 707 };
708 708
709 709
710 } // namespace internal 710 } // namespace internal
711 } // namespace v8 711 } // namespace v8
712 712
713 #endif // V8_MESSAGES_H_ 713 #endif // V8_MESSAGES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698