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

Side by Side Diff: src/messages.h

Issue 1467473002: Install ConstructNonConstructable as construct stub for non-constructables. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 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/ia32/builtins-ia32.cc ('k') | src/mips/builtins-mips.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 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 T(CalledNonCallable, "% is not a function") \ 93 T(CalledNonCallable, "% is not a function") \
94 T(CalledOnNonObject, "% called on non-object") \ 94 T(CalledOnNonObject, "% called on non-object") \
95 T(CalledOnNullOrUndefined, "% called on null or undefined") \ 95 T(CalledOnNullOrUndefined, "% called on null or undefined") \
96 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \ 96 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \
97 T(CannotPreventExt, "Cannot prevent extensions") \ 97 T(CannotPreventExt, "Cannot prevent extensions") \
98 T(CannotFreezeArrayBufferView, \ 98 T(CannotFreezeArrayBufferView, \
99 "Cannot freeze array buffer views with elements") \ 99 "Cannot freeze array buffer views with elements") \
100 T(CircularStructure, "Converting circular structure to JSON") \ 100 T(CircularStructure, "Converting circular structure to JSON") \
101 T(ConstAssign, "Assignment to constant variable.") \ 101 T(ConstAssign, "Assignment to constant variable.") \
102 T(ConstructorNonCallable, \ 102 T(ConstructorNonCallable, \
103 "Class constructors cannot be invoked without 'new'") \ 103 "Class constructor % cannot be invoked without 'new'") \
104 T(ConstructorNotFunction, "Constructor % requires 'new'") \ 104 T(ConstructorNotFunction, "Constructor % requires 'new'") \
105 T(CurrencyCode, "Currency code is required with currency style.") \ 105 T(CurrencyCode, "Currency code is required with currency style.") \
106 T(DataViewNotArrayBuffer, \ 106 T(DataViewNotArrayBuffer, \
107 "First argument to DataView constructor must be an ArrayBuffer") \ 107 "First argument to DataView constructor must be an ArrayBuffer") \
108 T(DateType, "this is not a Date object.") \ 108 T(DateType, "this is not a Date object.") \
109 T(DebuggerFrame, "Debugger: Invalid frame index.") \ 109 T(DebuggerFrame, "Debugger: Invalid frame index.") \
110 T(DebuggerType, "Debugger: Parameters have wrong types.") \ 110 T(DebuggerType, "Debugger: Parameters have wrong types.") \
111 T(DeclarationMissingInitializer, "Missing initializer in % declaration") \ 111 T(DeclarationMissingInitializer, "Missing initializer in % declaration") \
112 T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \ 112 T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \
113 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \ 113 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 509 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
510 Isolate* isolate, LookupIterator* property_lookup, 510 Isolate* isolate, LookupIterator* property_lookup,
511 Handle<String> default_value); 511 Handle<String> default_value);
512 512
513 List<Handle<JSObject> > visited_; 513 List<Handle<JSObject> > visited_;
514 }; 514 };
515 } // namespace internal 515 } // namespace internal
516 } // namespace v8 516 } // namespace v8
517 517
518 #endif // V8_MESSAGES_H_ 518 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698