Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Issue 10375059: Use a reserved stack local variable to store the Code object so that it can be looked up easily whe… (Closed)

Created:
8 years, 7 months ago by siva
Modified:
8 years, 7 months ago
Reviewers:
regis, srdjan, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Change dart frame and stub frame layout to include the PC of the code executing on the frame. The stack frame layout is as follows: ret PC saved EBP <== EBP PC (used to locate RawInstruction) <== ESP Committed: https://code.google.com/p/dart/source/detail?r=7675

Patch Set 1 #

Patch Set 2 : #

Total comments: 28

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+431 lines, -203 lines) Patch
M vm/assembler_macros_ia32.h View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M vm/assembler_macros_ia32.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M vm/assembler_macros_x64.h View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M vm/assembler_macros_x64.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M vm/code_generator.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M vm/code_generator_ia32.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M vm/code_generator_ia32.cc View 1 2 11 chunks +20 lines, -17 lines 0 comments Download
M vm/debugger.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M vm/disassembler_ia32.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M vm/find_code_object_test.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M vm/flow_graph_builder.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M vm/flow_graph_compiler_x64.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M vm/flow_graph_compiler_x64.cc View 1 2 7 chunks +18 lines, -13 lines 0 comments Download
M vm/object.h View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M vm/object.cc View 1 2 2 chunks +24 lines, -1 line 0 comments Download
M vm/parser.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M vm/parser.cc View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M vm/raw_object.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M vm/stack_frame.h View 1 2 4 chunks +7 lines, -19 lines 0 comments Download
M vm/stack_frame.cc View 1 2 5 chunks +29 lines, -36 lines 0 comments Download
M vm/stub_code_ia32.cc View 1 2 26 chunks +92 lines, -54 lines 0 comments Download
M vm/stub_code_x64.cc View 1 2 26 chunks +62 lines, -47 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
siva
8 years, 7 months ago (2012-05-12 06:00:50 UTC) #1
hausner
Do you mind taking a quick look at vm/debugger_ia32.cc (and its friends from other platforms)? ...
8 years, 7 months ago (2012-05-14 16:55:43 UTC) #2
regis
LGTM https://chromiumcodereview.appspot.com/10375059/diff/13001/vm/code_generator_ia32.cc File vm/code_generator_ia32.cc (right): https://chromiumcodereview.appspot.com/10375059/diff/13001/vm/code_generator_ia32.cc#newcode459 vm/code_generator_ia32.cc:459: int index = ParsedFunction::kFirstStackSlotIndex + 1; const https://chromiumcodereview.appspot.com/10375059/diff/13001/vm/code_generator_ia32.cc#newcode553 ...
8 years, 7 months ago (2012-05-14 17:33:10 UTC) #3
srdjan
LGTM with comments (in addition to Regis's comments) http://codereview.chromium.org/10375059/diff/13001/vm/assembler_macros_ia32.cc File vm/assembler_macros_ia32.cc (right): http://codereview.chromium.org/10375059/diff/13001/vm/assembler_macros_ia32.cc#newcode63 vm/assembler_macros_ia32.cc:63: intptr_t ...
8 years, 7 months ago (2012-05-14 20:00:17 UTC) #4
siva
Addressed review comments. https://chromiumcodereview.appspot.com/10375059/diff/13001/vm/assembler_macros_ia32.cc File vm/assembler_macros_ia32.cc (right): https://chromiumcodereview.appspot.com/10375059/diff/13001/vm/assembler_macros_ia32.cc#newcode63 vm/assembler_macros_ia32.cc:63: intptr_t offset = assembler->CodeSize(); On 2012/05/14 ...
8 years, 7 months ago (2012-05-15 23:52:39 UTC) #5
regis
8 years, 7 months ago (2012-05-16 00:27:46 UTC) #6
Still LGTM!

Powered by Google App Engine
This is Rietveld 408576698