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

Side by Side Diff: src/ia32/codegen-ia32.h

Issue 391079: Re-enable using push instructions for syncing the virtual frame.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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/ia32/codegen-ia32.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 461
462 void Comparison(Condition cc, 462 void Comparison(Condition cc,
463 bool strict, 463 bool strict,
464 ControlDestination* destination); 464 ControlDestination* destination);
465 465
466 // To prevent long attacker-controlled byte sequences, integer constants 466 // To prevent long attacker-controlled byte sequences, integer constants
467 // from the JavaScript source are loaded in two parts if they are larger 467 // from the JavaScript source are loaded in two parts if they are larger
468 // than 16 bits. 468 // than 16 bits.
469 static const int kMaxSmiInlinedBits = 16; 469 static const int kMaxSmiInlinedBits = 16;
470 bool IsUnsafeSmi(Handle<Object> value); 470 bool IsUnsafeSmi(Handle<Object> value);
471 // Load an integer constant x into a register target using 471 // Load an integer constant x into a register target or into the stack using
472 // at most 16 bits of user-controlled data per assembly operation. 472 // at most 16 bits of user-controlled data per assembly operation.
473 void LoadUnsafeSmi(Register target, Handle<Object> value); 473 void MoveUnsafeSmi(Register target, Handle<Object> value);
474 void StoreUnsafeSmiToLocal(int offset, Handle<Object> value);
475 void PushUnsafeSmi(Handle<Object> value);
474 476
475 void CallWithArguments(ZoneList<Expression*>* arguments, int position); 477 void CallWithArguments(ZoneList<Expression*>* arguments, int position);
476 478
477 // Use an optimized version of Function.prototype.apply that avoid 479 // Use an optimized version of Function.prototype.apply that avoid
478 // allocating the arguments object and just copies the arguments 480 // allocating the arguments object and just copies the arguments
479 // from the stack. 481 // from the stack.
480 void CallApplyLazy(Property* apply, 482 void CallApplyLazy(Property* apply,
481 Expression* receiver, 483 Expression* receiver,
482 VariableProxy* arguments, 484 VariableProxy* arguments,
483 int position); 485 int position);
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 void SetArgsReversed() { args_reversed_ = true; } 730 void SetArgsReversed() { args_reversed_ = true; }
729 bool HasSmiCodeInStub() { return (flags_ & NO_SMI_CODE_IN_STUB) == 0; } 731 bool HasSmiCodeInStub() { return (flags_ & NO_SMI_CODE_IN_STUB) == 0; }
730 bool HasArgumentsInRegisters() { return args_in_registers_; } 732 bool HasArgumentsInRegisters() { return args_in_registers_; }
731 bool HasArgumentsReversed() { return args_reversed_; } 733 bool HasArgumentsReversed() { return args_reversed_; }
732 }; 734 };
733 735
734 736
735 } } // namespace v8::internal 737 } } // namespace v8::internal
736 738
737 #endif // V8_IA32_CODEGEN_IA32_H_ 739 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698