| 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 887 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 898   } | 898   } | 
| 899 | 899 | 
| 900   // Activation support. | 900   // Activation support. | 
| 901   void EnterFrame(StackFrame::Type type); | 901   void EnterFrame(StackFrame::Type type); | 
| 902   void LeaveFrame(StackFrame::Type type); | 902   void LeaveFrame(StackFrame::Type type); | 
| 903 | 903 | 
| 904   // Expects object in eax and returns map with validated enum cache | 904   // Expects object in eax and returns map with validated enum cache | 
| 905   // in eax.  Assumes that any other register can be used as a scratch. | 905   // in eax.  Assumes that any other register can be used as a scratch. | 
| 906   void CheckEnumCache(Label* call_runtime); | 906   void CheckEnumCache(Label* call_runtime); | 
| 907 | 907 | 
| 908   // AllocationSiteInfo support. Arrays may have an associated | 908   // AllocationMemento support. Arrays may have an associated | 
| 909   // AllocationSiteInfo object that can be checked for in order to pretransition | 909   // AllocationMemento object that can be checked for in order to pretransition | 
| 910   // to another type. | 910   // to another type. | 
| 911   // On entry, receiver_reg should point to the array object. | 911   // On entry, receiver_reg should point to the array object. | 
| 912   // scratch_reg gets clobbered. | 912   // scratch_reg gets clobbered. | 
| 913   // If allocation info is present, conditional code is set to equal | 913   // If allocation info is present, conditional code is set to equal | 
| 914   void TestJSArrayForAllocationSiteInfo(Register receiver_reg, | 914   void TestJSArrayForAllocationMemento(Register receiver_reg, | 
| 915                                         Register scratch_reg); | 915                                        Register scratch_reg); | 
| 916 | 916 | 
| 917  private: | 917  private: | 
| 918   bool generating_stub_; | 918   bool generating_stub_; | 
| 919   bool allow_stub_calls_; | 919   bool allow_stub_calls_; | 
| 920   bool has_frame_; | 920   bool has_frame_; | 
| 921   // This handle will be patched with the code object on installation. | 921   // This handle will be patched with the code object on installation. | 
| 922   Handle<Object> code_object_; | 922   Handle<Object> code_object_; | 
| 923 | 923 | 
| 924   // Helper functions for generating invokes. | 924   // Helper functions for generating invokes. | 
| 925   void InvokePrologue(const ParameterCount& expected, | 925   void InvokePrologue(const ParameterCount& expected, | 
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1053   }                                                                       \ | 1053   }                                                                       \ | 
| 1054   masm-> | 1054   masm-> | 
| 1055 #else | 1055 #else | 
| 1056 #define ACCESS_MASM(masm) masm-> | 1056 #define ACCESS_MASM(masm) masm-> | 
| 1057 #endif | 1057 #endif | 
| 1058 | 1058 | 
| 1059 | 1059 | 
| 1060 } }  // namespace v8::internal | 1060 } }  // namespace v8::internal | 
| 1061 | 1061 | 
| 1062 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1062 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 
| OLD | NEW | 
|---|