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

Side by Side Diff: src/messages.h

Issue 1219943002: Expose SIMD.Float32x4 type to Javascript. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 T(StrongRedefineDisallowed, \ 235 T(StrongRedefineDisallowed, \
236 "On strong object %, redefining writable, non-configurable property '%' " \ 236 "On strong object %, redefining writable, non-configurable property '%' " \
237 "to be non-writable is deprecated") \ 237 "to be non-writable is deprecated") \
238 T(StrongSetProto, \ 238 T(StrongSetProto, \
239 "On strong object %, redefining the internal prototype is deprecated") \ 239 "On strong object %, redefining the internal prototype is deprecated") \
240 T(SymbolKeyFor, "% is not a symbol") \ 240 T(SymbolKeyFor, "% is not a symbol") \
241 T(SymbolToPrimitive, \ 241 T(SymbolToPrimitive, \
242 "Cannot convert a Symbol wrapper object to a primitive value") \ 242 "Cannot convert a Symbol wrapper object to a primitive value") \
243 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ 243 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \
244 T(SymbolToString, "Cannot convert a Symbol value to a string") \ 244 T(SymbolToString, "Cannot convert a Symbol value to a string") \
245 T(SimdToNumber, "Cannot convert a SIMD value to a number") \
245 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ 246 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \
246 T(ValueAndAccessor, \ 247 T(ValueAndAccessor, \
247 "Invalid property. A property cannot both have accessors and be " \ 248 "Invalid property. A property cannot both have accessors and be " \
248 "writable or have a value, %") \ 249 "writable or have a value, %") \
249 T(VarRedeclaration, "Identifier '%' has already been declared") \ 250 T(VarRedeclaration, "Identifier '%' has already been declared") \
250 T(WithExpression, "% has no properties") \ 251 T(WithExpression, "% has no properties") \
251 T(WrongArgs, "%: Arguments list has wrong type") \ 252 T(WrongArgs, "%: Arguments list has wrong type") \
252 /* ReferenceError */ \ 253 /* ReferenceError */ \
253 T(NonMethod, "'super' is referenced from non-method") \ 254 T(NonMethod, "'super' is referenced from non-method") \
254 T(NotDefined, "% is not defined") \ 255 T(NotDefined, "% is not defined") \
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 456
456 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc, 457 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc,
457 Handle<Object> message_obj); 458 Handle<Object> message_obj);
458 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 459 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
459 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 460 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
460 Handle<Object> data); 461 Handle<Object> data);
461 }; 462 };
462 } } // namespace v8::internal 463 } } // namespace v8::internal
463 464
464 #endif // V8_MESSAGES_H_ 465 #endif // V8_MESSAGES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698