Changeset 224838 in webkit for trunk/Source/JavaScriptCore/tools/JSDollarVM.h
- Timestamp:
- Nov 14, 2017, 1:16:24 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/tools/JSDollarVM.h
r206525 r224838 1 1 /* 2 * Copyright (C) 2015 Apple Inc. All rights reserved.2 * Copyright (C) 2015-2017 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 40 40 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info()); 41 41 } 42 43 static JSDollarVM* create(VM& vm, Structure* structure)42 43 static JSDollarVM* create(VM& vm, JSGlobalObject* globalObject, Structure* structure) 44 44 { 45 45 JSDollarVM* instance = new (NotNull, allocateCell<JSDollarVM>(vm.heap)) JSDollarVM(vm, structure); 46 instance->finishCreation(vm );46 instance->finishCreation(vm, globalObject); 47 47 return instance; 48 48 } … … 53 53 { 54 54 } 55 56 void finishCreation(VM&, JSGlobalObject*); 57 void addFunction(VM&, JSGlobalObject*, const char* name, NativeFunction, unsigned arguments); 55 58 }; 56 59
Note:
See TracChangeset
for help on using the changeset viewer.