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

Side by Side Diff: src/jump-target-arm.cc

Issue 9693: Remove the platform specific jump target files by making them have the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 12 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 | « src/jump-target-arm.h ('k') | src/jump-target-ia32.h » ('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 2008 the V8 project authors. All rights reserved. 1 // Copyright 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ASSERT(code_generator_ == NULL); 57 ASSERT(code_generator_ == NULL);
58 code_generator_ = cgen; 58 code_generator_ = cgen;
59 masm_ = cgen->masm(); 59 masm_ = cgen->masm();
60 } 60 }
61 61
62 62
63 void JumpTarget::Jump() { 63 void JumpTarget::Jump() {
64 __ b(&label_); 64 __ b(&label_);
65 } 65 }
66 66
67 void JumpTarget::Branch(Condition cc) { 67 void JumpTarget::Branch(Condition cc, Hint ignored) {
68 __ b(cc, &label_); 68 __ b(cc, &label_);
69 } 69 }
70 70
71 void JumpTarget::Bind() { 71 void JumpTarget::Bind() {
72 __ bind(&label_); 72 __ bind(&label_);
73 } 73 }
74 74
75 75
76 // ------------------------------------------------------------------------- 76 // -------------------------------------------------------------------------
77 // ShadowTarget implementation. 77 // ShadowTarget implementation.
(...skipping 27 matching lines...) Expand all
105 105
106 #ifdef DEBUG 106 #ifdef DEBUG
107 is_shadowing_ = false; 107 is_shadowing_ = false;
108 #endif 108 #endif
109 } 109 }
110 110
111 #undef __ 111 #undef __
112 112
113 113
114 } } // namespace v8::internal 114 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/jump-target-arm.h ('k') | src/jump-target-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698