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

Issue 10536086: Add stack check in loops so that loops can be stopped. Optimize relational operations. (Closed)

Created:
8 years, 6 months ago by srdjan
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add stack check in loops so that loops can be stopped. Optimize relational operations. Use class-ids to describe type of operation. Should we adapt BinaryOp to use class ids as well? Committed: https://code.google.com/p/dart/source/detail?r=8507

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -15 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 2 3 4 5 2 chunks +11 lines, -8 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 3 chunks +23 lines, -4 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 5 chunks +70 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 2 chunks +153 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 5 2 chunks +167 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 6 months ago (2012-06-10 18:40:02 UTC) #1
Vyacheslav Egorov (Google)
lgtm > Should we adapt BinaryOp to use class ids as well? I the following ...
8 years, 6 months ago (2012-06-11 12:51:21 UTC) #2
srdjan
8 years, 6 months ago (2012-06-11 16:00:50 UTC) #3
Added a comment to relational-op that we need to move the 'operator-type' from
class ids to an enum that describes boxed an unboxed variables.

http://codereview.chromium.org/10536086/diff/12006/runtime/vm/intermediate_la...
File runtime/vm/intermediate_language_x64.cc (right):

http://codereview.chromium.org/10536086/diff/12006/runtime/vm/intermediate_la...
runtime/vm/intermediate_language_x64.cc:1017: __ movq(TMP,
Immediate(Isolate::Current()->stack_limit_address()));
On 2012/06/11 12:51:21, Vyacheslav Egorov (Google) wrote:
> I though we can use TMP only in the assembler itself.

Yes, unfortunately, we are using TMP outside in several case.  Will fix that in
a following CL. Allocating a temporary here.

Powered by Google App Engine
This is Rietveld 408576698