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

Issue 8818001: Add 64-bit stubs to call into the runtime and to call native functions. (Closed)

Created:
9 years ago by regis
Modified:
9 years ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add 64-bit stubs to call into the runtime and to call native functions. Fix 64-bit assembler bugs. Committed: https://code.google.com/p/dart/source/detail?r=2206

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 14

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+828 lines, -147 lines) Patch
M runtime/vm/assembler.cc View 1 2 3 1 chunk +15 lines, -3 lines 0 comments Download
M runtime/vm/assembler_ia32.h View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 1 2 3 1 chunk +28 lines, -16 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 2 3 15 chunks +38 lines, -29 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 3 9 chunks +108 lines, -30 lines 0 comments Download
M runtime/vm/assembler_x64_test.cc View 1 2 3 2 chunks +101 lines, -7 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M runtime/vm/code_generator_ia32.cc View 1 2 3 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/constants_x64.h View 1 2 3 1 chunk +11 lines, -1 line 0 comments Download
M runtime/vm/runtime_entry_test.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry_x64.cc View 1 2 3 1 chunk +23 lines, -2 lines 0 comments Download
M runtime/vm/stack_frame_x64.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/stub_code.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 3 2 chunks +46 lines, -6 lines 0 comments Download
M runtime/vm/stub_code_ia32_test.cc View 1 2 3 4 chunks +4 lines, -24 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 3 3 chunks +301 lines, -9 lines 0 comments Download
A runtime/vm/stub_code_x64_test.cc View 1 2 1 chunk +115 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
regis
9 years ago (2011-12-06 01:47:10 UTC) #1
srdjan
http://codereview.chromium.org/8818001/diff/1/runtime/vm/assembler_x64.cc File runtime/vm/assembler_x64.cc (right): http://codereview.chromium.org/8818001/diff/1/runtime/vm/assembler_x64.cc#newcode555 runtime/vm/assembler_x64.cc:555: void Assembler::cmpq(const Address& address, Register reg) { Could you ...
9 years ago (2011-12-06 17:37:44 UTC) #2
regis
http://codereview.chromium.org/8818001/diff/1/runtime/vm/assembler_x64.cc File runtime/vm/assembler_x64.cc (right): http://codereview.chromium.org/8818001/diff/1/runtime/vm/assembler_x64.cc#newcode555 runtime/vm/assembler_x64.cc:555: void Assembler::cmpq(const Address& address, Register reg) { On 2011/12/06 ...
9 years ago (2011-12-06 21:41:52 UTC) #3
Ivan Posva
First round of comments. -Ivan http://codereview.chromium.org/8818001/diff/8001/runtime/vm/assembler_x64.cc File runtime/vm/assembler_x64.cc (right): http://codereview.chromium.org/8818001/diff/8001/runtime/vm/assembler_x64.cc#newcode359 runtime/vm/assembler_x64.cc:359: EmitOperand(dst & 7, Operand(src)); ...
9 years ago (2011-12-07 08:34:51 UTC) #4
regis
First round of comments addressed and one question. Thanks. http://codereview.chromium.org/8818001/diff/8001/runtime/vm/assembler_x64.cc File runtime/vm/assembler_x64.cc (right): http://codereview.chromium.org/8818001/diff/8001/runtime/vm/assembler_x64.cc#newcode359 runtime/vm/assembler_x64.cc:359: ...
9 years ago (2011-12-07 19:37:35 UTC) #5
Ivan Posva
LGTM -ip http://codereview.chromium.org/8818001/diff/17001/runtime/vm/stub_code_x64.cc File runtime/vm/stub_code_x64.cc (right): http://codereview.chromium.org/8818001/diff/17001/runtime/vm/stub_code_x64.cc#newcode34 runtime/vm/stub_code_x64.cc:34: // to transition to dart VM code. ...
9 years ago (2011-12-07 23:32:56 UTC) #6
regis
9 years ago (2011-12-07 23:57:44 UTC) #7
Thanks

http://codereview.chromium.org/8818001/diff/17001/runtime/vm/stub_code_x64.cc
File runtime/vm/stub_code_x64.cc (right):

http://codereview.chromium.org/8818001/diff/17001/runtime/vm/stub_code_x64.cc...
runtime/vm/stub_code_x64.cc:34: // to transition to dart VM code.
On 2011/12/07 23:32:56, Ivan Posva wrote:
> Dart VM

Done here and in ia32 version.

http://codereview.chromium.org/8818001/diff/17001/runtime/vm/stub_code_x64.cc...
runtime/vm/stub_code_x64.cc:125: // to transition to dart VM code.
On 2011/12/07 23:32:56, Ivan Posva wrote:
> Comment is confusing. We are transitioning into a native function here,
correct?

Done.

http://codereview.chromium.org/8818001/diff/17001/runtime/vm/stub_code_x64.cc...
runtime/vm/stub_code_x64.cc:142: // Pass NativeArguments structure by value and
call runtime.
On 2011/12/07 23:32:56, Ivan Posva wrote:
> ditto

Done.

Powered by Google App Engine
This is Rietveld 408576698