Changeset 14631
- Timestamp:
- 11/16/12 23:21:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r14630 r14631 684 684 Handle<Object> This = args.This(); 685 685 if (!args.IsConstructCall()) 686 { 687 Handle<ObjectTemplate> T = fTemplateDatabase->PrototypeTemplate(); 688 if (T.IsEmpty()) 689 return Undefined(); 690 691 This = T->NewInstance(); 692 } 686 This = fTemplateDatabase->PrototypeTemplate()->NewInstance(); 693 687 if (This.IsEmpty()) 694 688 return Undefined(); … … 1363 1357 Handle<Object> This = args.This(); 1364 1358 if (!args.IsConstructCall()) 1365 { 1366 Handle<ObjectTemplate> T = fTemplateMoon->PrototypeTemplate(); 1367 if (T.IsEmpty()) 1368 return Undefined(); 1369 1370 This = T->NewInstance(); 1371 } 1359 This = fTemplateMoon->PrototypeTemplate()->NewInstance(); 1372 1360 if (This.IsEmpty()) 1373 1361 return Undefined(); … … 1406 1394 Handle<Object> This = args.This(); 1407 1395 if (!args.IsConstructCall()) 1408 { 1409 Handle<ObjectTemplate> T = fTemplateSky->PrototypeTemplate(); 1410 if (T.IsEmpty()) 1411 return Undefined(); 1412 1413 This = T->NewInstance(); 1414 } 1396 This = fTemplateSky->PrototypeTemplate()->NewInstance(); 1415 1397 if (This.IsEmpty()) 1416 1398 return Undefined(); … … 1451 1433 Handle<Object> This = args.This(); 1452 1434 if (!args.IsConstructCall()) 1453 { 1454 Handle<ObjectTemplate> T = fTemplateLocal->PrototypeTemplate(); 1455 if (T.IsEmpty()) 1456 return Undefined(); 1457 1458 This = T->NewInstance(); 1459 } 1435 This = fTemplateLocal->PrototypeTemplate()->NewInstance(); 1460 1436 if (This.IsEmpty()) 1461 1437 return Undefined();
Note:
See TracChangeset
for help on using the changeset viewer.