| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 static Code* FindCallInitialize(int argc, | 203 static Code* FindCallInitialize(int argc, |
| 204 InLoopFlag in_loop, | 204 InLoopFlag in_loop, |
| 205 Code::Kind kind); | 205 Code::Kind kind); |
| 206 | 206 |
| 207 #ifdef ENABLE_DEBUGGER_SUPPORT | 207 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 208 static Object* ComputeCallDebugBreak(int argc, Code::Kind kind); | 208 static Object* ComputeCallDebugBreak(int argc, Code::Kind kind); |
| 209 | 209 |
| 210 static Object* ComputeCallDebugPrepareStepIn(int argc, Code::Kind kind); | 210 static Object* ComputeCallDebugPrepareStepIn(int argc, Code::Kind kind); |
| 211 #endif | 211 #endif |
| 212 | 212 |
| 213 | |
| 214 // Update cache for entry hash(name, map). | 213 // Update cache for entry hash(name, map). |
| 215 static Code* Set(String* name, Map* map, Code* code); | 214 static Code* Set(String* name, Map* map, Code* code); |
| 216 | 215 |
| 217 // Clear the lookup table (@ mark compact collection). | 216 // Clear the lookup table (@ mark compact collection). |
| 218 static void Clear(); | 217 static void Clear(); |
| 219 | 218 |
| 220 // Generate code for probing the stub cache table. | 219 // Generate code for probing the stub cache table. |
| 221 // If extra != no_reg it might be used as am extra scratch register. | 220 // If extra != no_reg it might be used as am extra scratch register. |
| 222 static void GenerateProbe(MacroAssembler* masm, | 221 static void GenerateProbe(MacroAssembler* masm, |
| 223 Code::Flags flags, | 222 Code::Flags flags, |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 | 741 |
| 743 JSFunction* constant_function_; | 742 JSFunction* constant_function_; |
| 744 bool is_simple_api_call_; | 743 bool is_simple_api_call_; |
| 745 FunctionTemplateInfo* expected_receiver_type_; | 744 FunctionTemplateInfo* expected_receiver_type_; |
| 746 CallHandlerInfo* api_call_info_; | 745 CallHandlerInfo* api_call_info_; |
| 747 }; | 746 }; |
| 748 | 747 |
| 749 } } // namespace v8::internal | 748 } } // namespace v8::internal |
| 750 | 749 |
| 751 #endif // V8_STUB_CACHE_H_ | 750 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |