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

Side by Side Diff: src/messages.h

Issue 1224523002: Avoid converting key to string for deleting of elements (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
« no previous file with comments | « src/array.js ('k') | src/objects.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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 /* ReferenceError */ \ 252 /* ReferenceError */ \
253 T(NonMethod, "'super' is referenced from non-method") \ 253 T(NonMethod, "'super' is referenced from non-method") \
254 T(NotDefined, "% is not defined") \ 254 T(NotDefined, "% is not defined") \
255 T(StrongSuperCallMissing, \ 255 T(StrongSuperCallMissing, \
256 "In strong mode, invoking the super constructor in a subclass is " \ 256 "In strong mode, invoking the super constructor in a subclass is " \
257 "required") \ 257 "required") \
258 T(StrongUnboundGlobal, \ 258 T(StrongUnboundGlobal, \
259 "In strong mode, using an undeclared global variable '%' is not allowed") \ 259 "In strong mode, using an undeclared global variable '%' is not allowed") \
260 T(UnsupportedSuper, "Unsupported reference to 'super'") \ 260 T(UnsupportedSuper, "Unsupported reference to 'super'") \
261 /* RangeError */ \ 261 /* RangeError */ \
262 T(ArrayLengthOutOfRange, "defineProperty() array length out of range") \
263 T(DateRange, "Provided date is not in valid range.") \ 262 T(DateRange, "Provided date is not in valid range.") \
264 T(ExpectedLocation, "Expected Area/Location for time zone, got %") \ 263 T(ExpectedLocation, "Expected Area/Location for time zone, got %") \
265 T(InvalidArrayBufferLength, "Invalid array buffer length") \ 264 T(InvalidArrayBufferLength, "Invalid array buffer length") \
266 T(InvalidArrayLength, "Invalid array length") \ 265 T(InvalidArrayLength, "Invalid array length") \
267 T(InvalidCodePoint, "Invalid code point %") \ 266 T(InvalidCodePoint, "Invalid code point %") \
268 T(InvalidCountValue, "Invalid count value") \ 267 T(InvalidCountValue, "Invalid count value") \
269 T(InvalidCurrencyCode, "Invalid currency code: %") \ 268 T(InvalidCurrencyCode, "Invalid currency code: %") \
270 T(InvalidDataViewAccessorOffset, \ 269 T(InvalidDataViewAccessorOffset, \
271 "Offset is outside the bounds of the DataView") \ 270 "Offset is outside the bounds of the DataView") \
272 T(InvalidDataViewLength, "Invalid data view length") \ 271 T(InvalidDataViewLength, "Invalid data view length") \
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 454
456 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc, 455 static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc,
457 Handle<Object> message_obj); 456 Handle<Object> message_obj);
458 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 457 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
459 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 458 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
460 Handle<Object> data); 459 Handle<Object> data);
461 }; 460 };
462 } } // namespace v8::internal 461 } } // namespace v8::internal
463 462
464 #endif // V8_MESSAGES_H_ 463 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/array.js ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698