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

Side by Side Diff: include/v8.h

Issue 334403003: MIPS: Fix big-endian after r21774/r21803. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « no previous file | src/hydrogen-instructions.h » ('j') | src/hydrogen-instructions.h » ('J')
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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 5499 matching lines...) Expand 10 before | Expand all | Expand 10 after
5510 /** 5510 /**
5511 * This class exports constants and functionality from within v8 that 5511 * This class exports constants and functionality from within v8 that
5512 * is necessary to implement inline functions in the v8 api. Don't 5512 * is necessary to implement inline functions in the v8 api. Don't
5513 * depend on functions and constants defined here. 5513 * depend on functions and constants defined here.
5514 */ 5514 */
5515 class Internals { 5515 class Internals {
5516 public: 5516 public:
5517 // These values match non-compiler-dependent values defined within 5517 // These values match non-compiler-dependent values defined within
5518 // the implementation of v8. 5518 // the implementation of v8.
5519 static const int kHeapObjectMapOffset = 0; 5519 static const int kHeapObjectMapOffset = 0;
5520 #if defined (__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
mtbrandy 2014/06/17 17:11:39 I think this is an argument for making the v8-endi
danno 2014/06/18 11:18:41 This probably means taking the entire contents of
Paul Lind 2014/06/19 07:31:22 By loading 16 bit word in this API accessor, but o
5521 static const int kMapInstanceTypeOffset =
5522 1 * kApiPointerSize + kApiIntSize + 1;
5523 #else
5520 static const int kMapInstanceTypeOffset = 1 * kApiPointerSize + kApiIntSize; 5524 static const int kMapInstanceTypeOffset = 1 * kApiPointerSize + kApiIntSize;
5525 #endif
5521 static const int kStringResourceOffset = 3 * kApiPointerSize; 5526 static const int kStringResourceOffset = 3 * kApiPointerSize;
5522 5527
5523 static const int kOddballKindOffset = 3 * kApiPointerSize; 5528 static const int kOddballKindOffset = 3 * kApiPointerSize;
5524 static const int kForeignAddressOffset = kApiPointerSize; 5529 static const int kForeignAddressOffset = kApiPointerSize;
5525 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; 5530 static const int kJSObjectHeaderSize = 3 * kApiPointerSize;
5526 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; 5531 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize;
5527 static const int kContextHeaderSize = 2 * kApiPointerSize; 5532 static const int kContextHeaderSize = 2 * kApiPointerSize;
5528 static const int kContextEmbedderDataIndex = 76; 5533 static const int kContextEmbedderDataIndex = 76;
5529 static const int kFullStringRepresentationMask = 0x07; 5534 static const int kFullStringRepresentationMask = 0x07;
5530 static const int kStringEncodingMask = 0x4; 5535 static const int kStringEncodingMask = 0x4;
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
6654 */ 6659 */
6655 6660
6656 6661
6657 } // namespace v8 6662 } // namespace v8
6658 6663
6659 6664
6660 #undef TYPE_CHECK 6665 #undef TYPE_CHECK
6661 6666
6662 6667
6663 #endif // V8_H_ 6668 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen-instructions.h » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698