Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: src/extensions/i18n/i18n-extension.h

Issue 23414008: Revert "Snapshot i18n Javascript code" and "Fix mjsunit/debug-script after r16298". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/extensions/i18n/header.js ('k') | src/extensions/i18n/i18n-extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/i18n/i18n-extension.h
diff --git a/test/cctest/test-cpu-x64.cc b/src/extensions/i18n/i18n-extension.h
similarity index 82%
copy from test/cctest/test-cpu-x64.cc
copy to src/extensions/i18n/i18n-extension.h
index a2c45cf8621e7aabb1879620b7a897f5a5ca56b8..9e538cb2ddcc1beffbb960b58289276c54116071 100644
--- a/test/cctest/test-cpu-x64.cc
+++ b/src/extensions/i18n/i18n-extension.h
@@ -24,21 +24,25 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// limitations under the License.
+
+#ifndef V8_EXTENSIONS_I18N_I18N_EXTENSION_H_
+#define V8_EXTENSIONS_I18N_I18N_EXTENSION_H_
#include "v8.h"
-#include "cctest.h"
-#include "cpu.h"
+namespace v8_i18n {
+
+class Extension : public v8::Extension {
+ public:
+ Extension();
+
+ static void Register();
-using namespace v8::internal;
+ private:
+ static Extension* extension_;
+};
+} // namespace v8_i18n
-TEST(RequiredFeaturesX64) {
- // Test for the features required by every x64 CPU.
- CPU cpu;
- CHECK(cpu.has_fpu());
- CHECK(cpu.has_cmov());
- CHECK(cpu.has_mmx());
- CHECK(cpu.has_sse());
- CHECK(cpu.has_sse2());
-}
+#endif // V8_EXTENSIONS_I18N_I18N_EXTENSION_H_
« no previous file with comments | « src/extensions/i18n/header.js ('k') | src/extensions/i18n/i18n-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698