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

Unified Diff: src/trusted/validator_mips/model.h

Issue 11415031: [MIPS] Forbid $sp update at the end of the last bundle. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Presubmit errors have been fixed. Created 8 years, 1 month 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 | « no previous file | src/trusted/validator_mips/ncval.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_mips/model.h
diff --git a/src/trusted/validator_mips/model.h b/src/trusted/validator_mips/model.h
index 2d0ab249b37d32155e2ea7b638d6fff31e98f324..fc709cb936b523b59bd080a9e8d0a1f7a64afd5d 100644
--- a/src/trusted/validator_mips/model.h
+++ b/src/trusted/validator_mips/model.h
@@ -1,8 +1,7 @@
/*
- * Copyright 2012 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
- * Copyright 2012, Google Inc.
+ * Copyright (c) 2012 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
*/
#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_MODEL_H
@@ -78,7 +77,7 @@ class RegisterList {
* - It inlines to a single machine instruction,
* - The readability gain in inst_classes.cc is large.
*/
- inline RegisterList(const Register r);
+ explicit inline RegisterList(const Register r);
/*
* Checks whether this list contains the given register.
@@ -153,6 +152,9 @@ uint32_t const kInstrSize = 4;
uint32_t const kInstrAlign = 0xFFFFFFFC;
uint32_t const kBundleAlign = 0xFFFFFFF0;
+// Opcode for nop instruction.
+uint32_t const kNop = 0x0;
+
} // namespace
// Definitions for our inlined functions.
« no previous file with comments | « no previous file | src/trusted/validator_mips/ncval.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698