Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 #include "vm/globals.h" | |
| 6 #if defined(TARGET_ARCH_IA32) | |
| 7 | |
| 8 #include "vm/debugger.h" | |
| 9 | |
| 10 #include "vm/code_patcher.h" | |
| 11 #include "vm/object.h" | |
| 12 #include "vm/os.h" | |
| 13 #include "vm/stack_frame.h" | |
| 14 #include "vm/stub_code.h" | |
| 15 | |
| 16 | |
|
siva
2011/12/22 00:04:28
extra blank line?
hausner
2011/12/22 00:15:32
Done.
| |
| 17 namespace dart { | |
| 18 | |
| 19 | |
|
siva
2011/12/22 00:04:28
extra blank line?
hausner
2011/12/22 00:15:32
Done.
| |
| 20 // TODO(hausner): Handle captured variables. | |
| 21 RawInstance* ActivationFrame::GetLocalVarValue(intptr_t slot_index) { | |
| 22 uword var_address = fp() + slot_index * kWordSize; | |
| 23 return reinterpret_cast<RawInstance*>( | |
| 24 *reinterpret_cast<uword*>(var_address)); | |
| 25 } | |
| 26 | |
| 27 | |
|
siva
2011/12/22 00:04:28
Ditto.
hausner
2011/12/22 00:15:32
Done.
| |
| 28 } // namespace dart | |
| 29 | |
| 30 #endif // defined TARGET_ARCH_IA32 | |
| OLD | NEW |