1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

optimize string reflection.

This commit is contained in:
Charles Lowell 2011-04-22 10:06:47 -05:00
parent dd1ab3b388
commit 992b15b36c

View file

@ -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() {