The Trunk: System-eem.502.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: System-eem.502.mcz

commits-2
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.502.mcz

==================== Summary ====================

Name: System-eem.502
Author: eem
Time: 12 November 2012, 9:56:10.047 am
UUID: 90c6fd20-ddae-4282-9928-80869f63d8f9
Ancestors: System-eem.500, System-cwp.501

Fix merge slip with System-cwp.501.
Include temp names in methods installed by BreakpointManager
(i.e. toggle break on entry).

=============== Diff against System-cwp.501 ===============

Item was changed:
  ----- Method: BreakpointManager class>>compilePrototype:in: (in category 'private') -----
  compilePrototype: aSymbol in: aClass
  "Compile and return a new method containing a break statement"
 
  | source node method |
  source := self breakpointMethodSourceFor: aSymbol in: aClass.
  node := aClass newCompiler
+ compile: source
+ in: aClass
+ notifying: nil
+ ifFail: [self error: '[breakpoint] unable to install breakpoint'].
- compile: source
- in: aClass
- notifying: nil
- ifFail: [self error: '[breakpoint] unable to install breakpoint'].
  node isNil ifTrue: [^nil].
+ method := node generateWithTempNames.
- "dunno what the arguments mean..."
- method := node generate.
  ^method!