Commit 4b6d4f6b authored by ager@chromium.org's avatar ager@chromium.org

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
parent 24dfb65f
......@@ -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()
......
......@@ -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++;
......
......@@ -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.
//
......
......@@ -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,
......
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