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

Side by Side Diff: src/messages.h

Issue 1235883002: [strong] Strong classes can't extend null (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback Created 5 years, 5 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/full-codegen.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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 T(StrictCannotAssign, "Cannot assign to read only '% in strict mode") \ 223 T(StrictCannotAssign, "Cannot assign to read only '% in strict mode") \
224 T(StrictDeleteProperty, "Cannot delete property '%' of %") \ 224 T(StrictDeleteProperty, "Cannot delete property '%' of %") \
225 T(StrictPoisonPill, \ 225 T(StrictPoisonPill, \
226 "'caller', 'callee', and 'arguments' properties may not be accessed on " \ 226 "'caller', 'callee', and 'arguments' properties may not be accessed on " \
227 "strict mode functions or the arguments objects for calls to them") \ 227 "strict mode functions or the arguments objects for calls to them") \
228 T(StrictReadOnlyProperty, "Cannot assign to read only property '%' of %") \ 228 T(StrictReadOnlyProperty, "Cannot assign to read only property '%' of %") \
229 T(StrongArity, \ 229 T(StrongArity, \
230 "In strong mode, calling a function with too few arguments is deprecated") \ 230 "In strong mode, calling a function with too few arguments is deprecated") \
231 T(StrongDeleteProperty, \ 231 T(StrongDeleteProperty, \
232 "Deleting property '%' of strong object '%' is deprecated") \ 232 "Deleting property '%' of strong object '%' is deprecated") \
233 T(StrongExtendNull, "In strong mode, classes extending null are deprecated") \
233 T(StrongImplicitConversion, \ 234 T(StrongImplicitConversion, \
234 "In strong mode, implicit conversions are deprecated") \ 235 "In strong mode, implicit conversions are deprecated") \
235 T(StrongRedefineDisallowed, \ 236 T(StrongRedefineDisallowed, \
236 "On strong object %, redefining writable, non-configurable property '%' " \ 237 "On strong object %, redefining writable, non-configurable property '%' " \
237 "to be non-writable is deprecated") \ 238 "to be non-writable is deprecated") \
238 T(StrongSetProto, \ 239 T(StrongSetProto, \
239 "On strong object %, redefining the internal prototype is deprecated") \ 240 "On strong object %, redefining the internal prototype is deprecated") \
240 T(SymbolKeyFor, "% is not a symbol") \ 241 T(SymbolKeyFor, "% is not a symbol") \
241 T(SymbolToPrimitive, \ 242 T(SymbolToPrimitive, \
242 "Cannot convert a Symbol wrapper object to a primitive value") \ 243 "Cannot convert a Symbol wrapper object to a primitive value") \
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 455
455 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc, 456 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc,
456 Handle<Object> message_obj); 457 Handle<Object> message_obj);
457 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 458 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
458 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 459 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
459 Handle<Object> data); 460 Handle<Object> data);
460 }; 461 };
461 } } // namespace v8::internal 462 } } // namespace v8::internal
462 463
463 #endif // V8_MESSAGES_H_ 464 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698