aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Vince <vincedani@users.noreply.github.com>2018-03-29 03:52:20 +0200
committeryichoi <duddlf.choi@samsung.com>2018-03-29 10:52:20 +0900
commitba22072db800766ca2f79535428f61935ccabc80 (patch)
treeed0f6690a8d0ac04b8fae6c0218765afe1bb5fdf /docs
parent8af89d951e7d4f78372f5dffd81cf49a545dfc92 (diff)
Fix typo and redundant text in the documentation. (#2260)
JerryScript-DCO-1.0-Signed-off-by: Daniel Vince vinced@inf.u-szeged.hu
Diffstat (limited to 'docs')
-rw-r--r--docs/04.INTERNALS.md2
-rw-r--r--docs/08.CODING-STANDARDS.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/04.INTERNALS.md b/docs/04.INTERNALS.md
index 45d3a268..4e9038ac 100644
--- a/docs/04.INTERNALS.md
+++ b/docs/04.INTERNALS.md
@@ -31,7 +31,7 @@ The interactions between the major components shown on the following figure.
# Byte-code
-This section describes the compact byte-code (CBC) byte-code representation. The key focus is reducing memory consumption of the byte-code representation without sacrificing considerable performance. Other byte-code representations often focus on performance only so inventing this representation is an original research.
+This section describes the compact byte-code (CBC) representation. The key focus is reducing memory consumption of the byte-code representation without sacrificing considerable performance. Other byte-code representations often focus on performance only so inventing this representation is an original research.
CBC is a CISC like instruction set which assigns shorter instructions for frequent operations. Many instructions represent multiple atomic tasks which reduces the byte code size. This technique is basically a data compression method.
diff --git a/docs/08.CODING-STANDARDS.md b/docs/08.CODING-STANDARDS.md
index 46fa9837..6fc43bb2 100644
--- a/docs/08.CODING-STANDARDS.md
+++ b/docs/08.CODING-STANDARDS.md
@@ -704,7 +704,7 @@ typedef struct
/* Field descriptions do not start with capital letters
* and there is no full stop at the end. */
field1_t field1; /**< description of field 1 */
- field2_t field2; /**< description of field 1 */
+ field2_t field2; /**< description of field 2 */
field_n_t field_n; /**< description of field n */
} structure_name_t;