Changeset 9889 in webkit for trunk/JavaScriptCore/kjs/math_object.cpp
- Timestamp:
- Jul 25, 2005, 3:17:20 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/math_object.cpp
r9768 r9889 22 22 #include <math.h> 23 23 #include <stdlib.h> 24 #include <stdio.h>25 24 #include <assert.h> 26 25 … … 82 81 83 82 // ECMA 15.8 84 Value MathObjectImp::get(ExecState *exec, const Identifier &propertyName) const 85 { 86 return lookupGet<MathFuncImp, MathObjectImp, ObjectImp>( exec, propertyName, &mathTable, this ); 83 84 bool MathObjectImp::getOwnProperty(ExecState *exec, const Identifier& propertyName, Value& result) const 85 { 86 return lookupGetOwnProperty<MathFuncImp, MathObjectImp, ObjectImp>(exec, propertyName, &mathTable, this, result); 87 87 } 88 88 … … 116 116 break; 117 117 default: 118 fprintf( stderr, "Internal error in MathObjectImp: unhandled token %d\n", token ); 119 break; 118 assert(0); 120 119 } 121 120
Note:
See TracChangeset
for help on using the changeset viewer.