mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
optimize string reflection.
This commit is contained in:
parent
dd1ab3b388
commit
992b15b36c
1 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,7 @@ namespace {
|
|||
}
|
||||
|
||||
VALUE rr_reflect_v8_string(Handle<Value> value) {
|
||||
HandleScope handles;
|
||||
Local<String> string = String::Cast(*value);
|
||||
return rr_v8_handle_new(StringClass, string);
|
||||
return rr_v8_handle_new(StringClass, Handle<String>::Cast(value));
|
||||
}
|
||||
|
||||
void rr_init_string() {
|
||||
|
|
Loading…
Add table
Reference in a new issue