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

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: Back out changes to include/v8.h 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/macros.py ('k') | src/messages.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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 T(StrongRedefineDisallowed, \ 236 T(StrongRedefineDisallowed, \
237 "On strong object %, redefining writable, non-configurable property '%' " \ 237 "On strong object %, redefining writable, non-configurable property '%' " \
238 "to be non-writable is deprecated") \ 238 "to be non-writable is deprecated") \
239 T(StrongSetProto, \ 239 T(StrongSetProto, \
240 "On strong object %, redefining the internal prototype is deprecated") \ 240 "On strong object %, redefining the internal prototype is deprecated") \
241 T(SymbolKeyFor, "% is not a symbol") \ 241 T(SymbolKeyFor, "% is not a symbol") \
242 T(SymbolToPrimitive, \ 242 T(SymbolToPrimitive, \
243 "Cannot convert a Symbol wrapper object to a primitive value") \ 243 "Cannot convert a Symbol wrapper object to a primitive value") \
244 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ 244 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \
245 T(SymbolToString, "Cannot convert a Symbol value to a string") \ 245 T(SymbolToString, "Cannot convert a Symbol value to a string") \
246 T(SimdToNumber, "Cannot convert a SIMD value to a number") \
246 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ 247 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \
247 T(ValueAndAccessor, \ 248 T(ValueAndAccessor, \
248 "Invalid property. A property cannot both have accessors and be " \ 249 "Invalid property. A property cannot both have accessors and be " \
249 "writable or have a value, %") \ 250 "writable or have a value, %") \
250 T(VarRedeclaration, "Identifier '%' has already been declared") \ 251 T(VarRedeclaration, "Identifier '%' has already been declared") \
251 T(WithExpression, "% has no properties") \ 252 T(WithExpression, "% has no properties") \
252 T(WrongArgs, "%: Arguments list has wrong type") \ 253 T(WrongArgs, "%: Arguments list has wrong type") \
253 /* ReferenceError */ \ 254 /* ReferenceError */ \
254 T(NonMethod, "'super' is referenced from non-method") \ 255 T(NonMethod, "'super' is referenced from non-method") \
255 T(NotDefined, "% is not defined") \ 256 T(NotDefined, "% is not defined") \
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 454
454 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc, 455 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc,
455 Handle<Object> message_obj); 456 Handle<Object> message_obj);
456 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 457 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
457 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 458 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
458 Handle<Object> data); 459 Handle<Object> data);
459 }; 460 };
460 } } // namespace v8::internal 461 } } // namespace v8::internal
461 462
462 #endif // V8_MESSAGES_H_ 463 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/macros.py ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698