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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 | 419 |
420 // Mirror cache handling. | 420 // Mirror cache handling. |
421 void ClearMirrorCache(); | 421 void ClearMirrorCache(); |
422 | 422 |
423 // Script cache handling. | 423 // Script cache handling. |
424 void CreateScriptCache(); | 424 void CreateScriptCache(); |
425 void DestroyScriptCache(); | 425 void DestroyScriptCache(); |
426 void AddScriptToScriptCache(Handle<Script> script); | 426 void AddScriptToScriptCache(Handle<Script> script); |
427 Handle<FixedArray> GetLoadedScripts(); | 427 Handle<FixedArray> GetLoadedScripts(); |
428 | 428 |
| 429 // Record function from which eval was called. |
| 430 static void RecordEvalCaller(Handle<Script> script); |
| 431 |
429 // Garbage collection notifications. | 432 // Garbage collection notifications. |
430 void AfterGarbageCollection(); | 433 void AfterGarbageCollection(); |
431 | 434 |
432 // Code generator routines. | 435 // Code generator routines. |
433 static void GenerateSlot(MacroAssembler* masm); | 436 static void GenerateSlot(MacroAssembler* masm); |
434 static void GenerateLoadICDebugBreak(MacroAssembler* masm); | 437 static void GenerateLoadICDebugBreak(MacroAssembler* masm); |
435 static void GenerateStoreICDebugBreak(MacroAssembler* masm); | 438 static void GenerateStoreICDebugBreak(MacroAssembler* masm); |
436 static void GenerateKeyedLoadICDebugBreak(MacroAssembler* masm); | 439 static void GenerateKeyedLoadICDebugBreak(MacroAssembler* masm); |
437 static void GenerateKeyedStoreICDebugBreak(MacroAssembler* masm); | 440 static void GenerateKeyedStoreICDebugBreak(MacroAssembler* masm); |
438 static void GenerateCompareNilICDebugBreak(MacroAssembler* masm); | 441 static void GenerateCompareNilICDebugBreak(MacroAssembler* masm); |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 | 1069 |
1067 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1070 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1068 }; | 1071 }; |
1069 | 1072 |
1070 | 1073 |
1071 } } // namespace v8::internal | 1074 } } // namespace v8::internal |
1072 | 1075 |
1073 #endif // ENABLE_DEBUGGER_SUPPORT | 1076 #endif // ENABLE_DEBUGGER_SUPPORT |
1074 | 1077 |
1075 #endif // V8_DEBUG_H_ | 1078 #endif // V8_DEBUG_H_ |
OLD | NEW |