| OLD | NEW |
| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 #ifdef ENABLE_LOGGING_AND_PROFILING | 159 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 160 static bool ShouldGenerateLog(Expression* type); | 160 static bool ShouldGenerateLog(Expression* type); |
| 161 #endif | 161 #endif |
| 162 | 162 |
| 163 static void SetFunctionInfo(Handle<JSFunction> fun, | 163 static void SetFunctionInfo(Handle<JSFunction> fun, |
| 164 FunctionLiteral* lit, | 164 FunctionLiteral* lit, |
| 165 bool is_toplevel, | 165 bool is_toplevel, |
| 166 Handle<Script> script); | 166 Handle<Script> script); |
| 167 | 167 |
| 168 static void RecordPositions(MacroAssembler* masm, int pos); |
| 169 |
| 168 // Accessors | 170 // Accessors |
| 169 MacroAssembler* masm() { return masm_; } | 171 MacroAssembler* masm() { return masm_; } |
| 170 | 172 |
| 171 VirtualFrame* frame() const { return frame_; } | 173 VirtualFrame* frame() const { return frame_; } |
| 172 | 174 |
| 173 bool has_valid_frame() const { return frame_ != NULL; } | 175 bool has_valid_frame() const { return frame_ != NULL; } |
| 174 | 176 |
| 175 // Set the virtual frame to be new_frame, with non-frame register | 177 // Set the virtual frame to be new_frame, with non-frame register |
| 176 // reference counts given by non_frame_registers. The non-frame | 178 // reference counts given by non_frame_registers. The non-frame |
| 177 // register reference counts of the old frame are returned in | 179 // register reference counts of the old frame are returned in |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 constant_rhs_); | 516 constant_rhs_); |
| 515 } | 517 } |
| 516 } | 518 } |
| 517 #endif | 519 #endif |
| 518 }; | 520 }; |
| 519 | 521 |
| 520 | 522 |
| 521 } } // namespace v8::internal | 523 } } // namespace v8::internal |
| 522 | 524 |
| 523 #endif // V8_ARM_CODEGEN_ARM_H_ | 525 #endif // V8_ARM_CODEGEN_ARM_H_ |
| OLD | NEW |