Changeset 138669 in webkit for trunk/Source/JavaScriptCore/interpreter
- Timestamp:
- Jan 2, 2013, 3:54:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/CallFrame.cpp
r135469 r138669 1 1 /* 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.2 * Copyright (C) 2008, 2013 Apple Inc. All Rights Reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 139 139 // Fill in the inlinedCaller 140 140 inlinedCaller->setCodeBlock(machineCodeBlock); 141 142 inlinedCaller->setScope(calleeAsFunction->scope());141 if (calleeAsFunction) 142 inlinedCaller->setScope(calleeAsFunction->scope()); 143 143 if (nextInlineCallFrame) 144 144 inlinedCaller->setCallerFrame(this + nextInlineCallFrame->stackOffset); … … 148 148 inlinedCaller->setInlineCallFrame(inlineCallFrame); 149 149 inlinedCaller->setArgumentCountIncludingThis(inlineCallFrame->arguments.size()); 150 inlinedCaller->setCallee(calleeAsFunction); 150 if (calleeAsFunction) 151 inlinedCaller->setCallee(calleeAsFunction); 151 152 152 153 inlineCallFrame = nextInlineCallFrame;
Note:
See TracChangeset
for help on using the changeset viewer.