Index: Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp b/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
index d91546a9d4f7126e91e2b6692edc78b0f77ffaa8..085da0382807864a8ac1ce7a4d2f666687784386 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
@@ -123,7 +123,7 @@ static void bAttributeSetterCallback(v8::Local<v8::String> name, v8::Local<v8::V |
static void func1Method(const v8::FunctionCallbackInfo<v8::Value>& args) |
{ |
- if (args.Length() < 1) { |
+ if (UNLIKELY(args.Length() < 1)) { |
throwNotEnoughArgumentsError(args.GetIsolate()); |
return; |
} |
@@ -142,7 +142,7 @@ static void func1MethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args) |
static void funcTestInterfaceImplementedAsParamMethod(const v8::FunctionCallbackInfo<v8::Value>& args) |
{ |
- if (args.Length() < 1) { |
+ if (UNLIKELY(args.Length() < 1)) { |
throwNotEnoughArgumentsError(args.GetIsolate()); |
return; |
} |