| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 virtual void Generate(MacroAssembler* masm) = 0; | 240 virtual void Generate(MacroAssembler* masm) = 0; |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 | 243 |
| 244 struct CodeStubInterfaceDescriptor { | 244 struct CodeStubInterfaceDescriptor { |
| 245 CodeStubInterfaceDescriptor() | 245 CodeStubInterfaceDescriptor() |
| 246 : register_param_count_(-1), | 246 : register_param_count_(-1), |
| 247 register_params_(NULL) { } | 247 register_params_(NULL) { } |
| 248 int register_param_count_; | 248 int register_param_count_; |
| 249 Register* register_params_; | 249 Register* register_params_; |
| 250 Handle<Code> deoptimization_handler_; | 250 Address deoptimization_handler_; |
| 251 }; | 251 }; |
| 252 | 252 |
| 253 | 253 |
| 254 class HGraph; | 254 class HGraph; |
| 255 struct Register; | 255 struct Register; |
| 256 class HydrogenCodeStub : public CodeStub { | 256 class HydrogenCodeStub : public CodeStub { |
| 257 public: | 257 public: |
| 258 // Retrieve the code for the stub. Generate the code if needed. | 258 // Retrieve the code for the stub. Generate the code if needed. |
| 259 virtual Handle<Code> GenerateCode() = 0; | 259 virtual Handle<Code> GenerateCode() = 0; |
| 260 | 260 |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1298 | 1298 |
| 1299 // The current function entry hook. | 1299 // The current function entry hook. |
| 1300 static FunctionEntryHook entry_hook_; | 1300 static FunctionEntryHook entry_hook_; |
| 1301 | 1301 |
| 1302 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 1302 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
| 1303 }; | 1303 }; |
| 1304 | 1304 |
| 1305 } } // namespace v8::internal | 1305 } } // namespace v8::internal |
| 1306 | 1306 |
| 1307 #endif // V8_CODE_STUBS_H_ | 1307 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |