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

Side by Side Diff: src/messages.h

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Fix IsNull call 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime.h » ('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 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \ 335 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \
336 T(NotAnIterator, "% is not an iterator") \ 336 T(NotAnIterator, "% is not an iterator") \
337 T(NotAPromise, "% is not a promise") \ 337 T(NotAPromise, "% is not a promise") \
338 T(NotConstructor, "% is not a constructor") \ 338 T(NotConstructor, "% is not a constructor") \
339 T(NotDateObject, "this is not a Date object.") \ 339 T(NotDateObject, "this is not a Date object.") \
340 T(NotIntlObject, "% is not an i18n object.") \ 340 T(NotIntlObject, "% is not an i18n object.") \
341 T(NotGeneric, "% is not generic") \ 341 T(NotGeneric, "% is not generic") \
342 T(NotIterable, "% is not iterable") \ 342 T(NotIterable, "% is not iterable") \
343 T(NotPropertyName, "% is not a valid property name") \ 343 T(NotPropertyName, "% is not a valid property name") \
344 T(NotTypedArray, "this is not a typed array.") \ 344 T(NotTypedArray, "this is not a typed array.") \
345 T(NotSharedTypedArray, "% is not a shared typed array.") \ 345 T(NotSuperConstructor, "Super constructor % of % is not a constructor.") \
Henrique Ferreiro 2016/12/16 10:47:57 I am seeing mixed use of the trailing dot. Which o
Benedikt Meurer 2016/12/16 10:48:38 Pick one, you decide :-)
346 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \ 346 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \
347 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \ 347 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \
348 T(ObjectGetterExpectingFunction, \ 348 T(ObjectGetterExpectingFunction, \
349 "Object.prototype.__defineGetter__: Expecting function") \ 349 "Object.prototype.__defineGetter__: Expecting function") \
350 T(ObjectGetterCallable, "Getter must be a function: %") \ 350 T(ObjectGetterCallable, "Getter must be a function: %") \
351 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \ 351 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \
352 T(ObjectSetterExpectingFunction, \ 352 T(ObjectSetterExpectingFunction, \
353 "Object.prototype.__defineSetter__: Expecting function") \ 353 "Object.prototype.__defineSetter__: Expecting function") \
354 T(ObjectSetterCallable, "Setter must be a function: %") \ 354 T(ObjectSetterCallable, "Setter must be a function: %") \
355 T(OrdinaryFunctionCalledAsConstructor, \ 355 T(OrdinaryFunctionCalledAsConstructor, \
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 const MessageLocation* loc, 729 const MessageLocation* loc,
730 Handle<Object> message_obj, 730 Handle<Object> message_obj,
731 v8::Local<v8::Value> api_exception_obj); 731 v8::Local<v8::Value> api_exception_obj);
732 }; 732 };
733 733
734 734
735 } // namespace internal 735 } // namespace internal
736 } // namespace v8 736 } // namespace v8
737 737
738 #endif // V8_MESSAGES_H_ 738 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698