Fix a couple of typos reported as V8 issue 226.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1255 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ager@chromium.org 2009-02-12 09:29:02 +00:00
parent 24dfb65ff8
commit 4b6d4f6b3b
4 changed files with 5 additions and 5 deletions

View File

@ -444,7 +444,7 @@ class ExternalReference BASE_EMBEDDED {
// Static variable Factory::the_hole_value.location()
static ExternalReference the_hole_value_location();
// Static variable StackGuard::address_of_limit()
// Static variable StackGuard::address_of_jslimit()
static ExternalReference address_of_stack_guard_limit();
// Static variable RegExpStack::limit_address()

View File

@ -700,14 +700,14 @@ static const char* F0Mnem(byte f0byte) {
}
// Disassembled instruction '*instr' and writes it intro 'out_buffer'.
// Disassembled instruction '*instr' and writes it into 'out_buffer'.
int DisassemblerIA32::InstructionDecode(v8::internal::Vector<char> out_buffer,
byte* instr) {
tmp_buffer_pos_ = 0; // starting to write as position 0
byte* data = instr;
// Check for hints.
const char* branch_hint = NULL;
// We use this two prefixes only with branch prediction
// We use these two prefixes only with branch prediction
if (*data == 0x3E /*ds*/) {
branch_hint = "predicted taken";
data++;

View File

@ -776,7 +776,7 @@ class Smi: public Object {
};
// Failure is used for reporing out of memory situations and
// Failure is used for reporting out of memory situations and
// propagating exceptions through the runtime system. Failure objects
// are transient and cannot occur as part of the objects graph.
//

View File

@ -654,7 +654,7 @@ void ExternalReferenceTable::PopulateTable() {
Add(ExternalReference::address_of_stack_guard_limit().address(),
UNCLASSIFIED,
3,
"StackGuard::address_of_limit()");
"StackGuard::address_of_jslimit()");
Add(ExternalReference::address_of_regexp_stack_limit().address(),
UNCLASSIFIED,
4,