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

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

Issue 6592098: Merge revision 7018 from bleeding_edge to 3.0 branch to fix... (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.0/
Patch Set: Created 9 years, 9 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 | « src/x64/codegen-x64.cc ('k') | src/x64/virtual-frame-x64.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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 TypeInfo info = TypeInfo::Unknown()); 395 TypeInfo info = TypeInfo::Unknown());
396 void EmitPush(Immediate immediate, 396 void EmitPush(Immediate immediate,
397 TypeInfo info = TypeInfo::Unknown()); 397 TypeInfo info = TypeInfo::Unknown());
398 void EmitPush(Smi* value); 398 void EmitPush(Smi* value);
399 // Uses kScratchRegister, emits appropriate relocation info. 399 // Uses kScratchRegister, emits appropriate relocation info.
400 void EmitPush(Handle<Object> value); 400 void EmitPush(Handle<Object> value);
401 401
402 inline bool ConstantPoolOverflowed(); 402 inline bool ConstantPoolOverflowed();
403 403
404 // Push an element on the virtual frame. 404 // Push an element on the virtual frame.
405 void Push(Handle<Object> value);
405 inline void Push(Register reg, TypeInfo info = TypeInfo::Unknown()); 406 inline void Push(Register reg, TypeInfo info = TypeInfo::Unknown());
406 inline void Push(Handle<Object> value);
407 inline void Push(Smi* value); 407 inline void Push(Smi* value);
408 408
409 // Pushing a result invalidates it (its contents become owned by the 409 // Pushing a result invalidates it (its contents become owned by the
410 // frame). 410 // frame).
411 void Push(Result* result) { 411 void Push(Result* result) {
412 if (result->is_register()) { 412 if (result->is_register()) {
413 Push(result->reg(), result->type_info()); 413 Push(result->reg(), result->type_info());
414 } else { 414 } else {
415 ASSERT(result->is_constant()); 415 ASSERT(result->is_constant());
416 Push(result->handle()); 416 Push(result->handle());
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 583
584 // Classes that need raw access to the elements_ array. 584 // Classes that need raw access to the elements_ array.
585 friend class FrameRegisterState; 585 friend class FrameRegisterState;
586 friend class JumpTarget; 586 friend class JumpTarget;
587 }; 587 };
588 588
589 589
590 } } // namespace v8::internal 590 } } // namespace v8::internal
591 591
592 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ 592 #endif // V8_X64_VIRTUAL_FRAME_X64_H_
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | src/x64/virtual-frame-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698