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

Side by Side Diff: src/messages.h

Issue 1554523002: Revert of Use ES2015-style TypedArray prototype chain (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/js/typedarray.js ('k') | test/mjsunit/es6/built-in-accessor-names.js » ('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(CallSiteExpectsFunction, \ 96 T(CallSiteExpectsFunction, \
97 "CallSite expects function as second argument, got %") \ 97 "CallSite expects function as second argument, got %") \
98 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \ 98 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \
99 T(CannotPreventExt, "Cannot prevent extensions") \ 99 T(CannotPreventExt, "Cannot prevent extensions") \
100 T(CannotFreezeArrayBufferView, \ 100 T(CannotFreezeArrayBufferView, \
101 "Cannot freeze array buffer views with elements") \ 101 "Cannot freeze array buffer views with elements") \
102 T(CircularStructure, "Converting circular structure to JSON") \ 102 T(CircularStructure, "Converting circular structure to JSON") \
103 T(ConstructAbstractClass, "Abstract class % not directly constructable") \
104 T(ConstAssign, "Assignment to constant variable.") \ 103 T(ConstAssign, "Assignment to constant variable.") \
105 T(ConstructorNonCallable, \ 104 T(ConstructorNonCallable, \
106 "Class constructor % cannot be invoked without 'new'") \ 105 "Class constructor % cannot be invoked without 'new'") \
107 T(ConstructorNotFunction, "Constructor % requires 'new'") \ 106 T(ConstructorNotFunction, "Constructor % requires 'new'") \
108 T(CurrencyCode, "Currency code is required with currency style.") \ 107 T(CurrencyCode, "Currency code is required with currency style.") \
109 T(DataViewNotArrayBuffer, \ 108 T(DataViewNotArrayBuffer, \
110 "First argument to DataView constructor must be an ArrayBuffer") \ 109 "First argument to DataView constructor must be an ArrayBuffer") \
111 T(DateType, "this is not a Date object.") \ 110 T(DateType, "this is not a Date object.") \
112 T(DebuggerFrame, "Debugger: Invalid frame index.") \ 111 T(DebuggerFrame, "Debugger: Invalid frame index.") \
113 T(DebuggerType, "Debugger: Parameters have wrong types.") \ 112 T(DebuggerType, "Debugger: Parameters have wrong types.") \
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 538 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
540 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 539 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
541 Handle<Object> data); 540 Handle<Object> data);
542 }; 541 };
543 542
544 543
545 } // namespace internal 544 } // namespace internal
546 } // namespace v8 545 } // namespace v8
547 546
548 #endif // V8_MESSAGES_H_ 547 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/js/typedarray.js ('k') | test/mjsunit/es6/built-in-accessor-names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698