libraries/v8/runtime.cc
// Returns V8 version as a string.
Returns V8 version as a string.
Returns V8 version as a string .
RUNTIME_FUNCTION(MaybeObject*, Runtime_GetV8Version) {
  SealHandleScope shs(isolate);
  ASSERT_EQ(args.length(), 0);
  const char* version_string = v8::V8::GetVersion();
  return isolate->heap()->AllocateStringFromOneByte(CStrVector(version_string),
                                                  NOT_TENURED);
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_GetV8Version ) { SealHandleScope shs ( isolate ) ; ASSERT_EQ ( args . length ( ) , 0 ) ; const char * version_string = v8 :: V8 :: GetVersion ( ) ; return isolate -> heap ( ) -> AllocateStringFromOneByte ( CStrVector ( version_string ) , NOT_TENURED ) ; }
Returns V8 version as a string.
Returns V8 version as a string .