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

Side by Side Diff: src/arm/virtual-frame-arm.h

Issue 1652015: Fix arm simulator build on Max OS X. For some reason the GCC version... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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/arm/virtual-frame-arm.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 369
370 private: 370 private:
371 static const int kLocal0Offset = JavaScriptFrameConstants::kLocal0Offset; 371 static const int kLocal0Offset = JavaScriptFrameConstants::kLocal0Offset;
372 static const int kFunctionOffset = JavaScriptFrameConstants::kFunctionOffset; 372 static const int kFunctionOffset = JavaScriptFrameConstants::kFunctionOffset;
373 static const int kContextOffset = StandardFrameConstants::kContextOffset; 373 static const int kContextOffset = StandardFrameConstants::kContextOffset;
374 374
375 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize; 375 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize;
376 static const int kPreallocatedElements = 5 + 8; // 8 expression stack slots. 376 static const int kPreallocatedElements = 5 + 8; // 8 expression stack slots.
377 377
378 // 5 states for the top of stack, which can be in memory or in r0 and r1. 378 // 5 states for the top of stack, which can be in memory or in r0 and r1.
379 enum TopOfStack { NO_TOS_REGISTERS, R0_TOS, R1_TOS, R1_R0_TOS, R0_R1_TOS, 379 enum TopOfStack {
380 TOS_STATES}; 380 NO_TOS_REGISTERS,
381 R0_TOS,
382 R1_TOS,
383 R1_R0_TOS,
384 R0_R1_TOS,
385 TOS_STATES
386 };
387
381 static const int kMaxTOSRegisters = 2; 388 static const int kMaxTOSRegisters = 2;
382 389
383 static const bool kR0InUse[TOS_STATES]; 390 static const bool kR0InUse[TOS_STATES];
384 static const bool kR1InUse[TOS_STATES]; 391 static const bool kR1InUse[TOS_STATES];
385 static const int kVirtualElements[TOS_STATES]; 392 static const int kVirtualElements[TOS_STATES];
386 static const TopOfStack kStateAfterPop[TOS_STATES]; 393 static const TopOfStack kStateAfterPop[TOS_STATES];
387 static const TopOfStack kStateAfterPush[TOS_STATES]; 394 static const TopOfStack kStateAfterPush[TOS_STATES];
388 static const Register kTopRegister[TOS_STATES]; 395 static const Register kTopRegister[TOS_STATES];
389 static const Register kBottomRegister[TOS_STATES]; 396 static const Register kBottomRegister[TOS_STATES];
390 397
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 inline bool Equals(VirtualFrame* other); 466 inline bool Equals(VirtualFrame* other);
460 467
461 friend class JumpTarget; 468 friend class JumpTarget;
462 friend class DeferredCode; 469 friend class DeferredCode;
463 }; 470 };
464 471
465 472
466 } } // namespace v8::internal 473 } } // namespace v8::internal
467 474
468 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ 475 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/virtual-frame-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698