| Index: Source/bindings/tests/results/V8TestEventTarget.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| index 40e2c64e54066f7be17bc7d4ffe394bea7312c9c..c423dc4d8e00dda509767519e5d6ae00bf3a3f6f 100644
|
| --- a/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| +++ b/Source/bindings/tests/results/V8TestEventTarget.cpp
|
| @@ -67,7 +67,7 @@ template <typename T> void V8_USE(T) { }
|
|
|
| static void itemMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| - if (args.Length() < 1) {
|
| + if (UNLIKELY(args.Length() < 1)) {
|
| throwNotEnoughArgumentsError(args.GetIsolate());
|
| return;
|
| }
|
| @@ -86,7 +86,7 @@ static void itemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
|
|
|
| static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| - if (args.Length() < 1) {
|
| + if (UNLIKELY(args.Length() < 1)) {
|
| throwNotEnoughArgumentsError(args.GetIsolate());
|
| return;
|
| }
|
|
|