OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 #include "V8TestInterfaceConstructor2.h" | 8 #include "V8TestInterfaceConstructor2.h" |
9 | 9 |
10 #include "RuntimeEnabledFeatures.h" | 10 #include "RuntimeEnabledFeatures.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 TestInterfaceConstructor2V8Internal::constructor3(info); | 138 TestInterfaceConstructor2V8Internal::constructor3(info); |
139 return; | 139 return; |
140 } | 140 } |
141 break; | 141 break; |
142 case 6: | 142 case 6: |
143 if (true) { | 143 if (true) { |
144 TestInterfaceConstructor2V8Internal::constructor3(info); | 144 TestInterfaceConstructor2V8Internal::constructor3(info); |
145 return; | 145 return; |
146 } | 146 } |
147 break; | 147 break; |
148 } | 148 default: |
149 if (UNLIKELY(info.Length() < 1)) { | |
150 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); | 149 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
151 exceptionState.throwIfNeeded(); | 150 exceptionState.throwIfNeeded(); |
152 return; | 151 return; |
153 } | 152 } |
154 exceptionState.throwTypeError("No matching constructor signature."); | 153 exceptionState.throwTypeError("No matching constructor signature."); |
155 exceptionState.throwIfNeeded(); | 154 exceptionState.throwIfNeeded(); |
156 } | 155 } |
157 | 156 |
158 } // namespace TestInterfaceConstructor2V8Internal | 157 } // namespace TestInterfaceConstructor2V8Internal |
159 | 158 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 fromInternalPointer(object)->deref(); | 245 fromInternalPointer(object)->deref(); |
247 } | 246 } |
248 | 247 |
249 template<> | 248 template<> |
250 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 249 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
251 { | 250 { |
252 return toV8(impl, creationContext, isolate); | 251 return toV8(impl, creationContext, isolate); |
253 } | 252 } |
254 | 253 |
255 } // namespace WebCore | 254 } // namespace WebCore |
OLD | NEW |