File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 29
29
30
30
# Reset this number to 0 on major V8 upgrades.
31
31
# Increment by one for each non-official patch applied to deps/v8.
32
- 'v8_embedder_string' : '-node.21 ' ,
32
+ 'v8_embedder_string' : '-node.22 ' ,
33
33
34
34
# Enable disassembler for `--print-code` v8 options
35
35
'v8_enable_disassembler' : 1 ,
Original file line number Diff line number Diff line change @@ -2674,7 +2674,9 @@ class V8_EXPORT String : public Name {
2674
2674
* Returns the number of bytes in the UTF-8 encoded
2675
2675
* representation of this string.
2676
2676
*/
2677
- int Utf8Length () const ;
2677
+ V8_DEPRECATE_SOON (" Use Isolate version instead" , int Utf8Length () const );
2678
+
2679
+ int Utf8Length (Isolate* isolate) const ;
2678
2680
2679
2681
/* *
2680
2682
* Returns whether this string is known to contain only one byte data,
Original file line number Diff line number Diff line change @@ -5484,6 +5484,9 @@ bool String::ContainsOnlyOneByte() const {
5484
5484
return helper.Check (*str);
5485
5485
}
5486
5486
5487
+ int String::Utf8Length (Isolate* isolate) const {
5488
+ return Utf8Length ();
5489
+ }
5487
5490
5488
5491
int String::Utf8Length () const {
5489
5492
i::Handle <i::String> str = Utils::OpenHandle (this );
You can’t perform that action at this time.
0 commit comments