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/objects.h

Issue 2625413004: [compiler-dispatcher] make it so that we can always parse on bg threads (Closed)
Patch Set: updates Created 3 years, 11 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 9583 matching lines...) Expand 10 before | Expand all | Expand 10 after
9594 9594
9595 static inline Handle<String> Flatten(Handle<String> string, 9595 static inline Handle<String> Flatten(Handle<String> string,
9596 PretenureFlag pretenure = NOT_TENURED); 9596 PretenureFlag pretenure = NOT_TENURED);
9597 9597
9598 // Tries to return the content of a flat string as a structure holding either 9598 // Tries to return the content of a flat string as a structure holding either
9599 // a flat vector of char or of uc16. 9599 // a flat vector of char or of uc16.
9600 // If the string isn't flat, and therefore doesn't have flat content, the 9600 // If the string isn't flat, and therefore doesn't have flat content, the
9601 // returned structure will report so, and can't provide a vector of either 9601 // returned structure will report so, and can't provide a vector of either
9602 // kind. 9602 // kind.
9603 FlatContent GetFlatContent(); 9603 FlatContent GetFlatContent();
9604 FlatContent GetFlattenedContent();
9605 9604
9606 // Returns the parent of a sliced string or first part of a flat cons string. 9605 // Returns the parent of a sliced string or first part of a flat cons string.
9607 // Requires: StringShape(this).IsIndirect() && this->IsFlat() 9606 // Requires: StringShape(this).IsIndirect() && this->IsFlat()
9608 inline String* GetUnderlying(); 9607 inline String* GetUnderlying();
9609 9608
9610 // String relational comparison, implemented according to ES6 section 7.2.11 9609 // String relational comparison, implemented according to ES6 section 7.2.11
9611 // Abstract Relational Comparison (step 5): The comparison of Strings uses a 9610 // Abstract Relational Comparison (step 5): The comparison of Strings uses a
9612 // simple lexicographic ordering on sequences of code unit values. There is no 9611 // simple lexicographic ordering on sequences of code unit values. There is no
9613 // attempt to use the more complex, semantically oriented definitions of 9612 // attempt to use the more complex, semantically oriented definitions of
9614 // character or string equality and collating order defined in the Unicode 9613 // character or string equality and collating order defined in the Unicode
(...skipping 2087 matching lines...) Expand 10 before | Expand all | Expand 10 after
11702 } 11701 }
11703 }; 11702 };
11704 11703
11705 11704
11706 } // NOLINT, false-positive due to second-order macros. 11705 } // NOLINT, false-positive due to second-order macros.
11707 } // NOLINT, false-positive due to second-order macros. 11706 } // NOLINT, false-positive due to second-order macros.
11708 11707
11709 #include "src/objects/object-macros-undef.h" 11708 #include "src/objects/object-macros-undef.h"
11710 11709
11711 #endif // V8_OBJECTS_H_ 11710 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698