| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 private: | 222 private: |
| 223 | 223 |
| 224 const char* GetName() { return "StackCheckStub"; } | 224 const char* GetName() { return "StackCheckStub"; } |
| 225 | 225 |
| 226 Major MajorKey() { return StackCheck; } | 226 Major MajorKey() { return StackCheck; } |
| 227 int MinorKey() { return 0; } | 227 int MinorKey() { return 0; } |
| 228 }; | 228 }; |
| 229 | 229 |
| 230 | 230 |
| 231 class InstanceofStub: public CodeStub { |
| 232 public: |
| 233 InstanceofStub() { } |
| 234 |
| 235 void Generate(MacroAssembler* masm); |
| 236 |
| 237 private: |
| 238 Major MajorKey() { return Instanceof; } |
| 239 int MinorKey() { return 0; } |
| 240 }; |
| 241 |
| 242 |
| 231 class UnarySubStub : public CodeStub { | 243 class UnarySubStub : public CodeStub { |
| 232 public: | 244 public: |
| 233 UnarySubStub() { } | 245 UnarySubStub() { } |
| 234 | 246 |
| 235 private: | 247 private: |
| 236 Major MajorKey() { return UnarySub; } | 248 Major MajorKey() { return UnarySub; } |
| 237 int MinorKey() { return 0; } | 249 int MinorKey() { return 0; } |
| 238 void Generate(MacroAssembler* masm); | 250 void Generate(MacroAssembler* masm); |
| 239 | 251 |
| 240 const char* GetName() { return "UnarySubStub"; } | 252 const char* GetName() { return "UnarySubStub"; } |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 PrintF("ArgumentsAccessStub (type %d)\n", type_); | 349 PrintF("ArgumentsAccessStub (type %d)\n", type_); |
| 338 } | 350 } |
| 339 #endif | 351 #endif |
| 340 }; | 352 }; |
| 341 | 353 |
| 342 | 354 |
| 343 } // namespace internal | 355 } // namespace internal |
| 344 } // namespace v8 | 356 } // namespace v8 |
| 345 | 357 |
| 346 #endif // V8_CODEGEN_H_ | 358 #endif // V8_CODEGEN_H_ |
| OLD | NEW |