diff options
| author | Andrei Popescu <andreip@google.com> | 2010-02-26 13:31:12 +0000 |
|---|---|---|
| committer | Andrei Popescu <andreip@google.com> | 2010-02-26 13:31:12 +0000 |
| commit | 402d937239b0e2fd11bf2f4fe972ad78aa9fd481 (patch) | |
| tree | b9d769439a27fa48d7171e1a669e98f519591b94 /src/frames.cc | |
| parent | 2007755a32dfa1ac843f501dec4fb872f8bbcc52 (diff) | |
| download | android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.tar.gz android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.tar.bz2 android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.zip | |
update V8 to TOT snapshot branch
Diffstat (limited to 'src/frames.cc')
| -rw-r--r-- | src/frames.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/frames.cc b/src/frames.cc index 05507406..06896ea7 100644 --- a/src/frames.cc +++ b/src/frames.cc @@ -410,12 +410,7 @@ Object*& ExitFrame::code_slot() const { Code* ExitFrame::code() const { - Object* code = code_slot(); - if (code->IsSmi()) { - return Heap::debugger_statement_code(); - } else { - return Code::cast(code); - } + return Code::cast(code_slot()); } |
