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

Side by Side Diff: include/v8.h

Issue 2683903002: Fix missing cases of empty_string canonicalization (Closed)
Patch Set: make LSan happy Created 3 years, 10 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/api.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 * control how allocated external string resources are disposed. 2440 * control how allocated external string resources are disposed.
2441 */ 2441 */
2442 virtual void Dispose() { delete this; } 2442 virtual void Dispose() { delete this; }
2443 2443
2444 // Disallow copying and assigning. 2444 // Disallow copying and assigning.
2445 ExternalStringResourceBase(const ExternalStringResourceBase&) = delete; 2445 ExternalStringResourceBase(const ExternalStringResourceBase&) = delete;
2446 void operator=(const ExternalStringResourceBase&) = delete; 2446 void operator=(const ExternalStringResourceBase&) = delete;
2447 2447
2448 private: 2448 private:
2449 friend class internal::Heap; 2449 friend class internal::Heap;
2450 friend class v8::String;
2450 }; 2451 };
2451 2452
2452 /** 2453 /**
2453 * An ExternalStringResource is a wrapper around a two-byte string 2454 * An ExternalStringResource is a wrapper around a two-byte string
2454 * buffer that resides outside V8's heap. Implement an 2455 * buffer that resides outside V8's heap. Implement an
2455 * ExternalStringResource to manage the life cycle of the underlying 2456 * ExternalStringResource to manage the life cycle of the underlying
2456 * buffer. Note that the string data must be immutable. 2457 * buffer. Note that the string data must be immutable.
2457 */ 2458 */
2458 class V8_EXPORT ExternalStringResource 2459 class V8_EXPORT ExternalStringResource
2459 : public ExternalStringResourceBase { 2460 : public ExternalStringResourceBase {
(...skipping 7404 matching lines...) Expand 10 before | Expand all | Expand 10 after
9864 */ 9865 */
9865 9866
9866 9867
9867 } // namespace v8 9868 } // namespace v8
9868 9869
9869 9870
9870 #undef TYPE_CHECK 9871 #undef TYPE_CHECK
9871 9872
9872 9873
9873 #endif // INCLUDE_V8_H_ 9874 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698