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

Side by Side Diff: src/objects.h

Issue 7269002: Fix compilation of all combinations of disassembler=on/off and objectprint=on/off (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Changed objects.h as well Created 9 years, 5 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/objects.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3400 matching lines...) Expand 10 before | Expand all | Expand 10 after
3411 return (length() - kFirstDeoptEntryIndex) / kDeoptEntrySize; 3411 return (length() - kFirstDeoptEntryIndex) / kDeoptEntrySize;
3412 } 3412 }
3413 3413
3414 // Allocates a DeoptimizationInputData. 3414 // Allocates a DeoptimizationInputData.
3415 MUST_USE_RESULT static MaybeObject* Allocate(int deopt_entry_count, 3415 MUST_USE_RESULT static MaybeObject* Allocate(int deopt_entry_count,
3416 PretenureFlag pretenure); 3416 PretenureFlag pretenure);
3417 3417
3418 // Casting. 3418 // Casting.
3419 static inline DeoptimizationInputData* cast(Object* obj); 3419 static inline DeoptimizationInputData* cast(Object* obj);
3420 3420
3421 #if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER) 3421 #ifdef ENABLE_DISASSEMBLER
3422 void DeoptimizationInputDataPrint(FILE* out); 3422 void DeoptimizationInputDataPrint(FILE* out);
3423 #endif 3423 #endif
3424 3424
3425 private: 3425 private:
3426 static int IndexForEntry(int i) { 3426 static int IndexForEntry(int i) {
3427 return kFirstDeoptEntryIndex + (i * kDeoptEntrySize); 3427 return kFirstDeoptEntryIndex + (i * kDeoptEntrySize);
3428 } 3428 }
3429 3429
3430 static int LengthFor(int entry_count) { 3430 static int LengthFor(int entry_count) {
3431 return IndexForEntry(entry_count); 3431 return IndexForEntry(entry_count);
(...skipping 3700 matching lines...) Expand 10 before | Expand all | Expand 10 after
7132 } else { 7132 } else {
7133 value &= ~(1 << bit_position); 7133 value &= ~(1 << bit_position);
7134 } 7134 }
7135 return value; 7135 return value;
7136 } 7136 }
7137 }; 7137 };
7138 7138
7139 } } // namespace v8::internal 7139 } } // namespace v8::internal
7140 7140
7141 #endif // V8_OBJECTS_H_ 7141 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698