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

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

Issue 6461017: ARM: Add type-feedback recording for compare... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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/arm/macro-assembler-arm.cc ('k') | src/ia32/full-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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 FunctionLiteral* function() { return info_->function(); } 537 FunctionLiteral* function() { return info_->function(); }
538 Scope* scope() { return info_->scope(); } 538 Scope* scope() { return info_->scope(); }
539 539
540 static Register result_register(); 540 static Register result_register();
541 static Register context_register(); 541 static Register context_register();
542 542
543 // Helper for calling an IC stub. 543 // Helper for calling an IC stub.
544 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode); 544 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode);
545 545
546 // Calling an IC stub with a patch site. Passing NULL for patch_site 546 // Calling an IC stub with a patch site. Passing NULL for patch_site
547 // indicates no inlined smi code and emits a nop after the IC call. 547 // or non NULL patch_site which is not activated indicates no inlined smi code
548 // and emits a nop after the IC call.
548 void EmitCallIC(Handle<Code> ic, JumpPatchSite* patch_site); 549 void EmitCallIC(Handle<Code> ic, JumpPatchSite* patch_site);
549 550
550 // Set fields in the stack frame. Offsets are the frame pointer relative 551 // Set fields in the stack frame. Offsets are the frame pointer relative
551 // offsets defined in, e.g., StandardFrameConstants. 552 // offsets defined in, e.g., StandardFrameConstants.
552 void StoreToFrameField(int frame_offset, Register value); 553 void StoreToFrameField(int frame_offset, Register value);
553 554
554 // Load a value from the current context. Indices are defined as an enum 555 // Load a value from the current context. Indices are defined as an enum
555 // in v8::internal::Context. 556 // in v8::internal::Context.
556 void LoadContextField(Register dst, int context_index); 557 void LoadContextField(Register dst, int context_index);
557 558
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 771
771 friend class NestedStatement; 772 friend class NestedStatement;
772 773
773 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 774 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
774 }; 775 };
775 776
776 777
777 } } // namespace v8::internal 778 } } // namespace v8::internal
778 779
779 #endif // V8_FULL_CODEGEN_H_ 780 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698