Index: Source/bindings/tests/results/V8TestTypedefs.cpp |
diff --git a/Source/bindings/tests/results/V8TestTypedefs.cpp b/Source/bindings/tests/results/V8TestTypedefs.cpp |
index 65bec490809262be230a8a3483581492a7f5f643..1d41504eb67c199df5c4a6ad01078e01767c9ab2 100644 |
--- a/Source/bindings/tests/results/V8TestTypedefs.cpp |
+++ b/Source/bindings/tests/results/V8TestTypedefs.cpp |
@@ -244,7 +244,6 @@ static void TestTypedefsReplaceableAttrSetterCallback(v8::Local<v8::String> name |
static v8::Handle<v8::Value> funcMethod(const v8::Arguments& args) |
{ |
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
- ExceptionCode ec = 0; |
if (args.Length() <= 0) { |
imp->func(); |
return v8Undefined(); |
@@ -264,7 +263,6 @@ static v8::Handle<v8::Value> setShadowMethod(const v8::Arguments& args) |
if (args.Length() < 3) |
return throwNotEnoughArgumentsError(args.GetIsolate()); |
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
- ExceptionCode ec = 0; |
V8TRYCATCH(float, width, static_cast<float>(args[0]->NumberValue())); |
V8TRYCATCH(float, height, static_cast<float>(args[1]->NumberValue())); |
V8TRYCATCH(float, blur, static_cast<float>(args[2]->NumberValue())); |
@@ -292,7 +290,6 @@ static v8::Handle<v8::Value> methodWithSequenceArgMethod(const v8::Arguments& ar |
if (args.Length() < 1) |
return throwNotEnoughArgumentsError(args.GetIsolate()); |
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
- ExceptionCode ec = 0; |
V8TRYCATCH(Vector<RefPtr<SerializedScriptValue> >, sequenceArg, (toRefPtrNativeArray<SerializedScriptValue, V8SerializedScriptValue>(args[0], args.GetIsolate()))); |
return v8::Number::New(static_cast<double>(imp->methodWithSequenceArg(sequenceArg))); |
} |
@@ -307,7 +304,6 @@ static v8::Handle<v8::Value> nullableArrayArgMethod(const v8::Arguments& args) |
if (args.Length() < 1) |
return throwNotEnoughArgumentsError(args.GetIsolate()); |
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
- ExceptionCode ec = 0; |
V8TRYCATCH(Vector<String>, arrayArg, toNativeArray<String>(args[0])); |
imp->nullableArrayArg(arrayArg); |
return v8Undefined(); |
@@ -323,7 +319,6 @@ static v8::Handle<v8::Value> funcWithClampMethod(const v8::Arguments& args) |
if (args.Length() < 1) |
return throwNotEnoughArgumentsError(args.GetIsolate()); |
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
- ExceptionCode ec = 0; |
unsigned long long arg1 = 0; |
V8TRYCATCH(double, arg1NativeValue, args[0]->NumberValue()); |
if (!std::isnan(arg1NativeValue)) |
@@ -411,8 +406,6 @@ static v8::Handle<v8::Value> constructor(const v8::Arguments& args) |
{ |
if (args.Length() < 2) |
return throwNotEnoughArgumentsError(args.GetIsolate()); |
- |
- ExceptionCode ec = 0; |
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, hello, args[0]); |
if (args.Length() <= 1 || !args[1]->IsFunction()) |
return throwTypeError(0, args.GetIsolate()); |