Add support for HHBC ops with 5 immediates
[hiphop-php.git] / hphp / runtime / base / dummy-resource.cpp
bloba3f3950b9874787dfe38db1b3937a3f3bb17346b
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 | Copyright (c) 1997-2010 The PHP Group |
7 +----------------------------------------------------------------------+
8 | This source file is subject to version 3.01 of the PHP license, |
9 | that is bundled with this package in the file LICENSE, and is |
10 | available through the world-wide-web at the following url: |
11 | http://www.php.net/license/3_01.txt |
12 | If you did not receive a copy of the PHP license and are unable to |
13 | obtain it through the world-wide-web, please send a note to |
14 | license@php.net so we can mail you a copy immediately. |
15 +----------------------------------------------------------------------+
18 #include "hphp/runtime/base/dummy-resource.h"
20 namespace HPHP {
21 ///////////////////////////////////////////////////////////////////////////////
23 DummyResource::DummyResource() {
26 const String& DummyResource::o_getClassNameHook() const {
27 if (m_class_name.empty()) {
28 return classnameof();
30 return m_class_name;
33 ///////////////////////////////////////////////////////////////////////////////