| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |