~ubuntu-branches/ubuntu/karmic/webkit/karmic-proposed

« back to all changes in this revision

Viewing changes to JavaScriptCore/runtime/JSImmediate.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-05-15 18:30:58 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515183058-50q5exjo9b1kxy9s
Tags: 1.1.7-1
* New upstream release
* debian/libwebkit-1.0-2.symbols:
- updated with the new symbols in 1.1.7
* debian/libwebkit-dev.install, debian/libwebkit-dev.links,
  debian/rules:
- Build, and ship gtk-doc documentation (Closes: #526683)
* debian/copyright:
- updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
namespace JSC {
34
34
 
35
 
JSObject* JSImmediate::toThisObject(JSValuePtr v, ExecState* exec)
 
35
JSObject* JSImmediate::toThisObject(JSValue v, ExecState* exec)
36
36
{
37
37
    ASSERT(isImmediate(v));
38
38
    if (isNumber(v))
43
43
    return exec->globalThisValue();
44
44
}
45
45
 
46
 
JSObject* JSImmediate::toObject(JSValuePtr v, ExecState* exec)
 
46
JSObject* JSImmediate::toObject(JSValue v, ExecState* exec)
47
47
{
48
48
    ASSERT(isImmediate(v));
49
49
    if (isNumber(v))
56
56
    return new (exec) JSNotAnObject(exec, exception);
57
57
}
58
58
 
59
 
JSObject* JSImmediate::prototype(JSValuePtr v, ExecState* exec)
 
59
JSObject* JSImmediate::prototype(JSValue v, ExecState* exec)
60
60
{
61
61
    ASSERT(isImmediate(v));
62
62
    if (isNumber(v))
69
69
    return new (exec) JSNotAnObject(exec, exception);
70
70
}
71
71
 
72
 
UString JSImmediate::toString(JSValuePtr v)
 
72
UString JSImmediate::toString(JSValue v)
73
73
{
74
74
    ASSERT(isImmediate(v));
75
75
    if (isIntegerNumber(v))