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

Side by Side Diff: src/messages.h

Issue 1377103005: Restructuring of JSObject::preventExtensions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | src/objects.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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 T(ApplyNonFunction, \ 85 T(ApplyNonFunction, \
86 "Function.prototype.apply was called on %, which is a % and not a " \ 86 "Function.prototype.apply was called on %, which is a % and not a " \
87 "function") \ 87 "function") \
88 T(ArrayFunctionsOnFrozen, "Cannot modify frozen array elements") \ 88 T(ArrayFunctionsOnFrozen, "Cannot modify frozen array elements") \
89 T(ArrayFunctionsOnSealed, "Cannot add/remove sealed array elements") \ 89 T(ArrayFunctionsOnSealed, "Cannot add/remove sealed array elements") \
90 T(ArrayNotSubclassable, "Subclassing Arrays is not currently supported.") \ 90 T(ArrayNotSubclassable, "Subclassing Arrays is not currently supported.") \
91 T(CalledNonCallable, "% is not a function") \ 91 T(CalledNonCallable, "% is not a function") \
92 T(CalledOnNonObject, "% called on non-object") \ 92 T(CalledOnNonObject, "% called on non-object") \
93 T(CalledOnNullOrUndefined, "% called on null or undefined") \ 93 T(CalledOnNullOrUndefined, "% called on null or undefined") \
94 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \ 94 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \
95 T(CannotPreventExt, "Cannot prevent extensions") \
95 T(CannotPreventExtExternalArray, \ 96 T(CannotPreventExtExternalArray, \
96 "Cannot prevent extension of an object with external array elements") \ 97 "Cannot prevent extension of an object with external array elements") \
97 T(CircularStructure, "Converting circular structure to JSON") \ 98 T(CircularStructure, "Converting circular structure to JSON") \
98 T(ConstAssign, "Assignment to constant variable.") \ 99 T(ConstAssign, "Assignment to constant variable.") \
99 T(ConstructorNonCallable, \ 100 T(ConstructorNonCallable, \
100 "Class constructors cannot be invoked without 'new'") \ 101 "Class constructors cannot be invoked without 'new'") \
101 T(ConstructorNotFunction, "Constructor % requires 'new'") \ 102 T(ConstructorNotFunction, "Constructor % requires 'new'") \
102 T(CurrencyCode, "Currency code is required with currency style.") \ 103 T(CurrencyCode, "Currency code is required with currency style.") \
103 T(DataViewNotArrayBuffer, \ 104 T(DataViewNotArrayBuffer, \
104 "First argument to DataView constructor must be an ArrayBuffer") \ 105 "First argument to DataView constructor must be an ArrayBuffer") \
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 488 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
488 Isolate* isolate, LookupIterator* property_lookup, 489 Isolate* isolate, LookupIterator* property_lookup,
489 Handle<String> default_value); 490 Handle<String> default_value);
490 491
491 List<Handle<JSObject> > visited_; 492 List<Handle<JSObject> > visited_;
492 }; 493 };
493 } // namespace internal 494 } // namespace internal
494 } // namespace v8 495 } // namespace v8
495 496
496 #endif // V8_MESSAGES_H_ 497 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698