Commit 015e72bb authored by ager@chromium.org's avatar ager@chromium.org

Minor cleanup in messages.js. Remove unused variables and fix formatting.

Review URL: http://codereview.chromium.org/6410058

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a2aa8487
...@@ -38,10 +38,6 @@ var COMPILATION_TYPE_HOST = 0; ...@@ -38,10 +38,6 @@ var COMPILATION_TYPE_HOST = 0;
var COMPILATION_TYPE_EVAL = 1; var COMPILATION_TYPE_EVAL = 1;
var COMPILATION_TYPE_JSON = 2; var COMPILATION_TYPE_JSON = 2;
// Lazily initialized.
var kVowelSounds = 0;
var kCapitalVowelSounds = 0;
// Matches Messages::kNoLineNumberInfo from v8.h // Matches Messages::kNoLineNumberInfo from v8.h
var kNoLineNumberInfo = 0; var kNoLineNumberInfo = 0;
...@@ -52,8 +48,7 @@ var kAddMessageAccessorsMarker = { }; ...@@ -52,8 +48,7 @@ var kAddMessageAccessorsMarker = { };
var kMessages = 0; var kMessages = 0;
var kReplacementMarkers = var kReplacementMarkers = [ "%0", "%1", "%2", "%3" ];
[ "%0", "%1", "%2", "%3" ]
function FormatString(format, message) { function FormatString(format, message) {
var args = %MessageGetArguments(message); var args = %MessageGetArguments(message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment