1 # Copyright 2013 the V8 project authors. All rights reserved. 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 3 # 4 # Redistribution and use in source and binary forms, with or without 5 # modification, are permitted provided that the following conditions 6 # are met: 7 # 1. Redistributions of source code must retain the above copyright 8 # notice, this list of conditions and the following disclaimer. 9 # 2. Redistributions in binary form must reproduce the above copyright 10 # notice, this list of conditions and the following disclaimer in the 11 # documentation and/or other materials provided with the distribution. 12 # 13 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY 14 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY 17 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 18 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 19 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 20 # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 24 This tests that op_get_by_pname is compiled correctly for non-final objects. 25 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29 PASS foo(o) is 11 30 PASS foo(p) is 10 31 PASS foo(q) is 3467 32 PASS foo(r) is 113 33 PASS foo(s) is 182 34 PASS foo(o) is 11 35 PASS foo(p) is 10 36 PASS foo(q) is 3467 37 PASS foo(r) is 113 38 PASS foo(s) is 182 39 PASS foo(o) is 11 40 PASS foo(p) is 10 41 PASS foo(q) is 3467 42 PASS foo(r) is 113 43 PASS foo(s) is 182 44 PASS foo(o) is 11 45 PASS foo(p) is 10 46 PASS foo(q) is 3467 47 PASS foo(r) is 113 48 PASS foo(s) is 182 49 PASS foo(o) is 11 50 PASS foo(p) is 10 51 PASS foo(q) is 3467 52 PASS foo(r) is 113 53 PASS foo(s) is 182 54 PASS foo(o) is 11 55 PASS foo(p) is 10 56 PASS foo(q) is 3467 57 PASS foo(r) is 113 58 PASS foo(s) is 182 59 PASS foo(o) is 11 60 PASS foo(p) is 10 61 PASS foo(q) is 3467 62 PASS foo(r) is 113 63 PASS foo(s) is 182 64 PASS foo(o) is 11 65 PASS foo(p) is 10 66 PASS foo(q) is 3467 67 PASS foo(r) is 113 68 PASS foo(s) is 182 69 PASS foo(o) is 11 70 PASS foo(p) is 10 71 PASS foo(q) is 3467 72 PASS foo(r) is 113 73 PASS foo(s) is 182 74 PASS foo(o) is 11 75 PASS foo(p) is 10 76 PASS foo(q) is 3467 77 PASS foo(r) is 113 78 PASS foo(s) is 182 79 PASS foo(o) is 11 80 PASS foo(p) is 10 81 PASS foo(q) is 3467 82 PASS foo(r) is 113 83 PASS foo(s) is 182 84 PASS foo(o) is 11 85 PASS foo(p) is 10 86 PASS foo(q) is 3467 87 PASS foo(r) is 113 88 PASS foo(s) is 182 89 PASS foo(o) is 11 90 PASS foo(p) is 10 91 PASS foo(q) is 3467 92 PASS foo(r) is 113 93 PASS foo(s) is 182 94 PASS foo(o) is 11 95 PASS foo(p) is 10 96 PASS foo(q) is 3467 97 PASS foo(r) is 113 98 PASS foo(s) is 182 99 PASS foo(o) is 11 100 PASS foo(p) is 10 101 PASS foo(q) is 3467 102 PASS foo(r) is 113 103 PASS foo(s) is 182 104 PASS foo(o) is 11 105 PASS foo(p) is 10 106 PASS foo(q) is 3467 107 PASS foo(r) is 113 108 PASS foo(s) is 182 109 PASS foo(o) is 11 110 PASS foo(p) is 10 111 PASS foo(q) is 3467 112 PASS foo(r) is 113 113 PASS foo(s) is 182 114 PASS foo(o) is 11 115 PASS foo(p) is 10 116 PASS foo(q) is 3467 117 PASS foo(r) is 113 118 PASS foo(s) is 182 119 PASS foo(o) is 11 120 PASS foo(p) is 10 121 PASS foo(q) is 3467 122 PASS foo(r) is 113 123 PASS foo(s) is 182 124 PASS foo(o) is 11 125 PASS foo(p) is 10 126 PASS foo(q) is 3467 127 PASS foo(r) is 113 128 PASS foo(s) is 182 129 PASS foo(o) is 11 130 PASS foo(p) is 10 131 PASS foo(q) is 3467 132 PASS foo(r) is 113 133 PASS foo(s) is 182 134 PASS foo(o) is 11 135 PASS foo(p) is 10 136 PASS foo(q) is 3467 137 PASS foo(r) is 113 138 PASS foo(s) is 182 139 PASS foo(o) is 11 140 PASS foo(p) is 10 141 PASS foo(q) is 3467 142 PASS foo(r) is 113 143 PASS foo(s) is 182 144 PASS foo(o) is 11 145 PASS foo(p) is 10 146 PASS foo(q) is 3467 147 PASS foo(r) is 113 148 PASS foo(s) is 182 149 PASS foo(o) is 11 150 PASS foo(p) is 10 151 PASS foo(q) is 3467 152 PASS foo(r) is 113 153 PASS foo(s) is 182 154 PASS foo(o) is 11 155 PASS foo(p) is 10 156 PASS foo(q) is 3467 157 PASS foo(r) is 113 158 PASS foo(s) is 182 159 PASS foo(o) is 11 160 PASS foo(p) is 10 161 PASS foo(q) is 3467 162 PASS foo(r) is 113 163 PASS foo(s) is 182 164 PASS foo(o) is 11 165 PASS foo(p) is 10 166 PASS foo(q) is 3467 167 PASS foo(r) is 113 168 PASS foo(s) is 182 169 PASS foo(o) is 11 170 PASS foo(p) is 10 171 PASS foo(q) is 3467 172 PASS foo(r) is 113 173 PASS foo(s) is 182 174 PASS foo(o) is 11 175 PASS foo(p) is 10 176 PASS foo(q) is 3467 177 PASS foo(r) is 113 178 PASS foo(s) is 182 179 PASS foo(o) is 11 180 PASS foo(p) is 10 181 PASS foo(q) is 3467 182 PASS foo(r) is 113 183 PASS foo(s) is 182 184 PASS foo(o) is 11 185 PASS foo(p) is 10 186 PASS foo(q) is 3467 187 PASS foo(r) is 113 188 PASS foo(s) is 182 189 PASS foo(o) is 11 190 PASS foo(p) is 10 191 PASS foo(q) is 3467 192 PASS foo(r) is 113 193 PASS foo(s) is 182 194 PASS foo(o) is 11 195 PASS foo(p) is 10 196 PASS foo(q) is 3467 197 PASS foo(r) is 113 198 PASS foo(s) is 182 199 PASS foo(o) is 11 200 PASS foo(p) is 10 201 PASS foo(q) is 3467 202 PASS foo(r) is 113 203 PASS foo(s) is 182 204 PASS foo(o) is 11 205 PASS foo(p) is 10 206 PASS foo(q) is 3467 207 PASS foo(r) is 113 208 PASS foo(s) is 182 209 PASS foo(o) is 11 210 PASS foo(p) is 10 211 PASS foo(q) is 3467 212 PASS foo(r) is 113 213 PASS foo(s) is 182 214 PASS foo(o) is 11 215 PASS foo(p) is 10 216 PASS foo(q) is 3467 217 PASS foo(r) is 113 218 PASS foo(s) is 182 219 PASS foo(o) is 11 220 PASS foo(p) is 10 221 PASS foo(q) is 3467 222 PASS foo(r) is 113 223 PASS foo(s) is 182 224 PASS foo(o) is 11 225 PASS foo(p) is 10 226 PASS foo(q) is 3467 227 PASS foo(r) is 113 228 PASS foo(s) is 182 229 PASS foo(o) is 11 230 PASS foo(p) is 10 231 PASS foo(q) is 3467 232 PASS foo(r) is 113 233 PASS foo(s) is 182 234 PASS foo(o) is 11 235 PASS foo(p) is 10 236 PASS foo(q) is 3467 237 PASS foo(r) is 113 238 PASS foo(s) is 182 239 PASS foo(o) is 11 240 PASS foo(p) is 10 241 PASS foo(q) is 3467 242 PASS foo(r) is 113 243 PASS foo(s) is 182 244 PASS foo(o) is 11 245 PASS foo(p) is 10 246 PASS foo(q) is 3467 247 PASS foo(r) is 113 248 PASS foo(s) is 182 249 PASS foo(o) is 11 250 PASS foo(p) is 10 251 PASS foo(q) is 3467 252 PASS foo(r) is 113 253 PASS foo(s) is 182 254 PASS foo(o) is 11 255 PASS foo(p) is 10 256 PASS foo(q) is 3467 257 PASS foo(r) is 113 258 PASS foo(s) is 182 259 PASS foo(o) is 11 260 PASS foo(p) is 10 261 PASS foo(q) is 3467 262 PASS foo(r) is 113 263 PASS foo(s) is 182 264 PASS foo(o) is 11 265 PASS foo(p) is 10 266 PASS foo(q) is 3467 267 PASS foo(r) is 113 268 PASS foo(s) is 182 269 PASS foo(o) is 11 270 PASS foo(p) is 10 271 PASS foo(q) is 3467 272 PASS foo(r) is 113 273 PASS foo(s) is 182 274 PASS foo(o) is 11 275 PASS foo(p) is 10 276 PASS foo(q) is 3467 277 PASS foo(r) is 113 278 PASS foo(s) is 182 279 PASS foo(o) is 11 280 PASS foo(p) is 10 281 PASS foo(q) is 3467 282 PASS foo(r) is 113 283 PASS foo(s) is 182 284 PASS foo(o) is 11 285 PASS foo(p) is 10 286 PASS foo(q) is 3467 287 PASS foo(r) is 113 288 PASS foo(s) is 182 289 PASS foo(o) is 11 290 PASS foo(p) is 10 291 PASS foo(q) is 3467 292 PASS foo(r) is 113 293 PASS foo(s) is 182 294 PASS foo(o) is 11 295 PASS foo(p) is 10 296 PASS foo(q) is 3467 297 PASS foo(r) is 113 298 PASS foo(s) is 182 299 PASS foo(o) is 11 300 PASS foo(p) is 10 301 PASS foo(q) is 3467 302 PASS foo(r) is 113 303 PASS foo(s) is 182 304 PASS foo(o) is 11 305 PASS foo(p) is 10 306 PASS foo(q) is 3467 307 PASS foo(r) is 113 308 PASS foo(s) is 182 309 PASS foo(o) is 11 310 PASS foo(p) is 10 311 PASS foo(q) is 3467 312 PASS foo(r) is 113 313 PASS foo(s) is 182 314 PASS foo(o) is 11 315 PASS foo(p) is 10 316 PASS foo(q) is 3467 317 PASS foo(r) is 113 318 PASS foo(s) is 182 319 PASS foo(o) is 11 320 PASS foo(p) is 10 321 PASS foo(q) is 3467 322 PASS foo(r) is 113 323 PASS foo(s) is 182 324 PASS foo(o) is 11 325 PASS foo(p) is 10 326 PASS foo(q) is 3467 327 PASS foo(r) is 113 328 PASS foo(s) is 182 329 PASS foo(o) is 11 330 PASS foo(p) is 10 331 PASS foo(q) is 3467 332 PASS foo(r) is 113 333 PASS foo(s) is 182 334 PASS foo(o) is 11 335 PASS foo(p) is 10 336 PASS foo(q) is 3467 337 PASS foo(r) is 113 338 PASS foo(s) is 182 339 PASS foo(o) is 11 340 PASS foo(p) is 10 341 PASS foo(q) is 3467 342 PASS foo(r) is 113 343 PASS foo(s) is 182 344 PASS foo(o) is 11 345 PASS foo(p) is 10 346 PASS foo(q) is 3467 347 PASS foo(r) is 113 348 PASS foo(s) is 182 349 PASS foo(o) is 11 350 PASS foo(p) is 10 351 PASS foo(q) is 3467 352 PASS foo(r) is 113 353 PASS foo(s) is 182 354 PASS foo(o) is 11 355 PASS foo(p) is 10 356 PASS foo(q) is 3467 357 PASS foo(r) is 113 358 PASS foo(s) is 182 359 PASS foo(o) is 11 360 PASS foo(p) is 10 361 PASS foo(q) is 3467 362 PASS foo(r) is 113 363 PASS foo(s) is 182 364 PASS foo(o) is 11 365 PASS foo(p) is 10 366 PASS foo(q) is 3467 367 PASS foo(r) is 113 368 PASS foo(s) is 182 369 PASS foo(o) is 11 370 PASS foo(p) is 10 371 PASS foo(q) is 3467 372 PASS foo(r) is 113 373 PASS foo(s) is 182 374 PASS foo(o) is 11 375 PASS foo(p) is 10 376 PASS foo(q) is 3467 377 PASS foo(r) is 113 378 PASS foo(s) is 182 379 PASS foo(o) is 11 380 PASS foo(p) is 10 381 PASS foo(q) is 3467 382 PASS foo(r) is 113 383 PASS foo(s) is 182 384 PASS foo(o) is 11 385 PASS foo(p) is 10 386 PASS foo(q) is 3467 387 PASS foo(r) is 113 388 PASS foo(s) is 182 389 PASS foo(o) is 11 390 PASS foo(p) is 10 391 PASS foo(q) is 3467 392 PASS foo(r) is 113 393 PASS foo(s) is 182 394 PASS foo(o) is 11 395 PASS foo(p) is 10 396 PASS foo(q) is 3467 397 PASS foo(r) is 113 398 PASS foo(s) is 182 399 PASS foo(o) is 11 400 PASS foo(p) is 10 401 PASS foo(q) is 3467 402 PASS foo(r) is 113 403 PASS foo(s) is 182 404 PASS foo(o) is 11 405 PASS foo(p) is 10 406 PASS foo(q) is 3467 407 PASS foo(r) is 113 408 PASS foo(s) is 182 409 PASS foo(o) is 11 410 PASS foo(p) is 10 411 PASS foo(q) is 3467 412 PASS foo(r) is 113 413 PASS foo(s) is 182 414 PASS foo(o) is 11 415 PASS foo(p) is 10 416 PASS foo(q) is 3467 417 PASS foo(r) is 113 418 PASS foo(s) is 182 419 PASS foo(o) is 11 420 PASS foo(p) is 10 421 PASS foo(q) is 3467 422 PASS foo(r) is 113 423 PASS foo(s) is 182 424 PASS foo(o) is 11 425 PASS foo(p) is 10 426 PASS foo(q) is 3467 427 PASS foo(r) is 113 428 PASS foo(s) is 182 429 PASS foo(o) is 11 430 PASS foo(p) is 10 431 PASS foo(q) is 3467 432 PASS foo(r) is 113 433 PASS foo(s) is 182 434 PASS foo(o) is 11 435 PASS foo(p) is 10 436 PASS foo(q) is 3467 437 PASS foo(r) is 113 438 PASS foo(s) is 182 439 PASS foo(o) is 11 440 PASS foo(p) is 10 441 PASS foo(q) is 3467 442 PASS foo(r) is 113 443 PASS foo(s) is 182 444 PASS foo(o) is 11 445 PASS foo(p) is 10 446 PASS foo(q) is 3467 447 PASS foo(r) is 113 448 PASS foo(s) is 182 449 PASS foo(o) is 11 450 PASS foo(p) is 10 451 PASS foo(q) is 3467 452 PASS foo(r) is 113 453 PASS foo(s) is 182 454 PASS foo(o) is 11 455 PASS foo(p) is 10 456 PASS foo(q) is 3467 457 PASS foo(r) is 113 458 PASS foo(s) is 182 459 PASS foo(o) is 11 460 PASS foo(p) is 10 461 PASS foo(q) is 3467 462 PASS foo(r) is 113 463 PASS foo(s) is 182 464 PASS foo(o) is 11 465 PASS foo(p) is 10 466 PASS foo(q) is 3467 467 PASS foo(r) is 113 468 PASS foo(s) is 182 469 PASS foo(o) is 11 470 PASS foo(p) is 10 471 PASS foo(q) is 3467 472 PASS foo(r) is 113 473 PASS foo(s) is 182 474 PASS foo(o) is 11 475 PASS foo(p) is 10 476 PASS foo(q) is 3467 477 PASS foo(r) is 113 478 PASS foo(s) is 182 479 PASS foo(o) is 11 480 PASS foo(p) is 10 481 PASS foo(q) is 3467 482 PASS foo(r) is 113 483 PASS foo(s) is 182 484 PASS foo(o) is 11 485 PASS foo(p) is 10 486 PASS foo(q) is 3467 487 PASS foo(r) is 113 488 PASS foo(s) is 182 489 PASS foo(o) is 11 490 PASS foo(p) is 10 491 PASS foo(q) is 3467 492 PASS foo(r) is 113 493 PASS foo(s) is 182 494 PASS foo(o) is 11 495 PASS foo(p) is 10 496 PASS foo(q) is 3467 497 PASS foo(r) is 113 498 PASS foo(s) is 182 499 PASS foo(o) is 11 500 PASS foo(p) is 10 501 PASS foo(q) is 3467 502 PASS foo(r) is 113 503 PASS foo(s) is 182 504 PASS foo(o) is 11 505 PASS foo(p) is 10 506 PASS foo(q) is 3467 507 PASS foo(r) is 113 508 PASS foo(s) is 182 509 PASS foo(o) is 11 510 PASS foo(p) is 10 511 PASS foo(q) is 3467 512 PASS foo(r) is 113 513 PASS foo(s) is 182 514 PASS foo(o) is 11 515 PASS foo(p) is 10 516 PASS foo(q) is 3467 517 PASS foo(r) is 113 518 PASS foo(s) is 182 519 PASS foo(o) is 11 520 PASS foo(p) is 10 521 PASS foo(q) is 3467 522 PASS foo(r) is 113 523 PASS foo(s) is 182 524 PASS foo(o) is 11 525 PASS foo(p) is 10 526 PASS foo(q) is 3467 527 PASS foo(r) is 113 528 PASS foo(s) is 182 529 PASS successfullyParsed is true 530 531 TEST COMPLETE 532 533