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

Issue 182303005: Inline context allocation in optimized code. (Closed)

Created:
6 years, 9 months ago by Florian Schneider
Modified:
6 years, 9 months ago
Reviewers:
regis, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Inline context allocation in optimized code. Instead of just calling the generic stub in optimized code, there is now inlined code to handle allocation and initialization of the context. A deferred code path handles inline allocation failure. R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=33203

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -43 lines) Patch
M runtime/vm/assembler_ia32.h View 1 chunk +4 lines, -0 lines 1 comment Download
M runtime/vm/assembler_ia32.cc View 3 chunks +43 lines, -43 lines 1 comment Download
M runtime/vm/intermediate_language_ia32.cc View 1 3 chunks +112 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Florian Schneider
This is ia32 only for now. It can be independently reviewed, landed and ported to ...
6 years, 9 months ago (2014-02-28 14:14:22 UTC) #1
regis
LGTM with comments. https://codereview.chromium.org/182303005/diff/1/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/182303005/diff/1/runtime/vm/intermediate_language_ia32.cc#newcode2267 runtime/vm/intermediate_language_ia32.cc:2267: locs->set_out(Location::RegisterLocation(EAX)); Don't you miss a return ...
6 years, 9 months ago (2014-02-28 18:07:01 UTC) #2
Florian Schneider
Committed patchset #2 manually as r33203 (presubmit successful).
6 years, 9 months ago (2014-03-03 10:25:06 UTC) #3
Florian Schneider
https://codereview.chromium.org/182303005/diff/1/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/182303005/diff/1/runtime/vm/intermediate_language_ia32.cc#newcode2267 runtime/vm/intermediate_language_ia32.cc:2267: locs->set_out(Location::RegisterLocation(EAX)); On 2014/02/28 18:07:01, regis wrote: > Don't you ...
6 years, 9 months ago (2014-03-03 11:42:57 UTC) #4
srdjan
6 years, 9 months ago (2014-03-03 18:30:08 UTC) #5
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/182303005/diff/10001/runtime/vm/assembler_ia3...
File runtime/vm/assembler_ia32.cc (right):

https://codereview.chromium.org/182303005/diff/10001/runtime/vm/assembler_ia3...
runtime/vm/assembler_ia32.cc:2355: 
Two lines between functions.

https://codereview.chromium.org/182303005/diff/10001/runtime/vm/assembler_ia32.h
File runtime/vm/assembler_ia32.h (right):

https://codereview.chromium.org/182303005/diff/10001/runtime/vm/assembler_ia3...
runtime/vm/assembler_ia32.h:778: Heap::Space space = Heap::kNew);
Can you use a different name. Register is almost an intptr_t.

Powered by Google App Engine
This is Rietveld 408576698