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 "V8TestSpecialOperations.h" | 8 #include "V8TestSpecialOperations.h" |
9 | 9 |
10 #include "RuntimeEnabledFeatures.h" | 10 #include "RuntimeEnabledFeatures.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 template <typename T> void V8_USE(T) { } | 45 template <typename T> void V8_USE(T) { } |
46 | 46 |
47 static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) | 47 static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
48 { | 48 { |
49 if (UNLIKELY(info.Length() < 1)) { | 49 if (UNLIKELY(info.Length() < 1)) { |
50 throwMinimumArityTypeErrorForMethod("namedItem", "TestSpecialOperations"
, 1, info.Length(), info.GetIsolate()); | 50 throwMinimumArityTypeErrorForMethod("namedItem", "TestSpecialOperations"
, 1, info.Length(), info.GetIsolate()); |
51 return; | 51 return; |
52 } | 52 } |
53 TestSpecialOperations* impl = V8TestSpecialOperations::toNative(info.Holder(
)); | 53 TestSpecialOperations* impl = V8TestSpecialOperations::toNative(info.Holder(
)); |
54 TOSTRING_VOID(V8StringResource<>, name, info[0]); | 54 V8StringResource<> name; |
| 55 { |
| 56 TOSTRING_VOID_INTERNAL(name, info[0]); |
| 57 } |
55 bool result0Enabled = false; | 58 bool result0Enabled = false; |
56 RefPtr<Node> result0; | 59 RefPtr<Node> result0; |
57 bool result1Enabled = false; | 60 bool result1Enabled = false; |
58 RefPtrWillBeRawPtr<NodeList> result1; | 61 RefPtrWillBeRawPtr<NodeList> result1; |
59 impl->getItem(name, result0Enabled, result0, result1Enabled, result1); | 62 impl->getItem(name, result0Enabled, result0, result1Enabled, result1); |
60 if (result0Enabled) { | 63 if (result0Enabled) { |
61 v8SetReturnValue(info, result0.release()); | 64 v8SetReturnValue(info, result0.release()); |
62 return; | 65 return; |
63 } | 66 } |
64 if (result1Enabled) { | 67 if (result1Enabled) { |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 fromInternalPointer(object)->deref(); | 246 fromInternalPointer(object)->deref(); |
244 } | 247 } |
245 | 248 |
246 template<> | 249 template<> |
247 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) | 250 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) |
248 { | 251 { |
249 return toV8(impl, creationContext, isolate); | 252 return toV8(impl, creationContext, isolate); |
250 } | 253 } |
251 | 254 |
252 } // namespace WebCore | 255 } // namespace WebCore |
OLD | NEW |