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

Side by Side Diff: src/messages.js

Issue 15012016: small misspelling fixes. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mark-compact.cc ('k') | src/mips/assembler-mips.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 411
412 /** 412 /**
413 * Get information on a specific source line and column possibly offset by a 413 * Get information on a specific source line and column possibly offset by a
414 * fixed source position. This function is used to find a source position from 414 * fixed source position. This function is used to find a source position from
415 * a line and column position. The fixed source position offset is typically 415 * a line and column position. The fixed source position offset is typically
416 * used to find a source position in a function based on a line and column in 416 * used to find a source position in a function based on a line and column in
417 * the source for the function alone. The offset passed will then be the 417 * the source for the function alone. The offset passed will then be the
418 * start position of the source for the function within the full script source. 418 * start position of the source for the function within the full script source.
419 * @param {number} opt_line The line within the source. Default value is 0 419 * @param {number} opt_line The line within the source. Default value is 0
420 * @param {number} opt_column The column in within the line. Default value is 0 420 * @param {number} opt_column The column in within the line. Default value is 0
421 * @param {number} opt_offset_position The offset from the begining of the 421 * @param {number} opt_offset_position The offset from the beginning of the
422 * source from where the line and column calculation starts. 422 * source from where the line and column calculation starts.
423 * Default value is 0 423 * Default value is 0
424 * @return {SourceLocation} 424 * @return {SourceLocation}
425 * If line is negative or not in the source null is returned. 425 * If line is negative or not in the source null is returned.
426 */ 426 */
427 function ScriptLocationFromLine(opt_line, opt_column, opt_offset_position) { 427 function ScriptLocationFromLine(opt_line, opt_column, opt_offset_position) {
428 // Default is the first line in the script. Lines in the script is relative 428 // Default is the first line in the script. Lines in the script is relative
429 // to the offset within the resource. 429 // to the offset within the resource.
430 var line = 0; 430 var line = 0;
431 if (!IS_UNDEFINED(opt_line)) { 431 if (!IS_UNDEFINED(opt_line)) {
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 %SetOverflowedStackTrace(this, void 0); 1316 %SetOverflowedStackTrace(this, void 0);
1317 } 1317 }
1318 1318
1319 %DefineOrRedefineAccessorProperty( 1319 %DefineOrRedefineAccessorProperty(
1320 boilerplate, 'stack', getter, setter, DONT_ENUM); 1320 boilerplate, 'stack', getter, setter, DONT_ENUM);
1321 1321
1322 return boilerplate; 1322 return boilerplate;
1323 } 1323 }
1324 1324
1325 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); 1325 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate();
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/mips/assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698