| 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 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1408 | 1408 |
| 1409 private: | 1409 private: |
| 1410 Type type_; | 1410 Type type_; |
| 1411 }; | 1411 }; |
| 1412 | 1412 |
| 1413 | 1413 |
| 1414 enum InliningKind { | 1414 enum InliningKind { |
| 1415 NORMAL_RETURN, // Normal function/method call and return. | 1415 NORMAL_RETURN, // Normal function/method call and return. |
| 1416 DROP_EXTRA_ON_RETURN, // Drop an extra value from the environment on return. | 1416 DROP_EXTRA_ON_RETURN, // Drop an extra value from the environment on return. |
| 1417 CONSTRUCT_CALL_RETURN, // Either use allocated receiver or return value. | 1417 CONSTRUCT_CALL_RETURN, // Either use allocated receiver or return value. |
| 1418 GETTER_CALL_RETURN, // Returning from a getter, need to restore context. |
| 1418 SETTER_CALL_RETURN // Use the RHS of the assignment as the return value. | 1419 SETTER_CALL_RETURN // Use the RHS of the assignment as the return value. |
| 1419 }; | 1420 }; |
| 1420 | 1421 |
| 1421 | 1422 |
| 1422 class HEnterInlined: public HTemplateInstruction<0> { | 1423 class HEnterInlined: public HTemplateInstruction<0> { |
| 1423 public: | 1424 public: |
| 1424 HEnterInlined(Handle<JSFunction> closure, | 1425 HEnterInlined(Handle<JSFunction> closure, |
| 1425 int arguments_count, | 1426 int arguments_count, |
| 1426 FunctionLiteral* function, | 1427 FunctionLiteral* function, |
| 1427 CallKind call_kind, | 1428 CallKind call_kind, |
| (...skipping 3856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5284 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex); | 5285 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex); |
| 5285 }; | 5286 }; |
| 5286 | 5287 |
| 5287 | 5288 |
| 5288 #undef DECLARE_INSTRUCTION | 5289 #undef DECLARE_INSTRUCTION |
| 5289 #undef DECLARE_CONCRETE_INSTRUCTION | 5290 #undef DECLARE_CONCRETE_INSTRUCTION |
| 5290 | 5291 |
| 5291 } } // namespace v8::internal | 5292 } } // namespace v8::internal |
| 5292 | 5293 |
| 5293 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 5294 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |