Commit 532ee45a authored by paul.lind's avatar paul.lind Committed by Commit bot

Fix big-endian after [runtime] Fix ES6 9.2.1 [[Call]] when encountering a classConstructor.

Fix typos in big-endian BYTE_OFFSET macro.

BUG=

Review URL: https://codereview.chromium.org/1433543002

Cr-Commit-Position: refs/heads/master@{#31811}
parent 5d44bf02
......@@ -7110,8 +7110,8 @@ class SharedFunctionInfo: public HeapObject {
(compiler_hint + kCompilerHintsSmiTagSize) / kBitsPerByte
#elif defined(V8_TARGET_BIG_ENDIAN)
#define BYTE_OFFSET(compiler_hint) \
kCompilerHintsOffset + +(kCompilerHintsSize - 1) - \
((kStrictModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte)
kCompilerHintsOffset + (kCompilerHintsSize - 1) - \
((compiler_hint + kCompilerHintsSmiTagSize) / kBitsPerByte)
#else
#error Unknown byte ordering
#endif
......
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