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

Issue 10539068: Add righ shift test for corner cases, use macro for deopt reasons (all suggested by Slava in a prev… (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 righ shift test for corner cases, use macro for deopt reasons (all suggested by Slava in a previous CL) Committed: https://code.google.com/p/dart/source/detail?r=8459

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -62 lines) Patch
M runtime/vm/code_generator.h View 1 chunk +33 lines, -28 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 1 chunk +3 lines, -34 lines 0 comments Download
M tests/language/bit_operations_test.dart View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 6 months ago (2012-06-08 17:42:39 UTC) #1
Vyacheslav Egorov (Google)
lgtm https://chromiumcodereview.appspot.com/10539068/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://chromiumcodereview.appspot.com/10539068/diff/1/runtime/vm/code_generator.cc#newcode1399 runtime/vm/code_generator.cc:1399: #define DEOPT_REASON_ID_TO_TEXT(name) case k##name: return ""#name; why do ...
8 years, 6 months ago (2012-06-08 17:44:19 UTC) #2
srdjan
8 years, 6 months ago (2012-06-08 18:09:52 UTC) #3
https://chromiumcodereview.appspot.com/10539068/diff/1/runtime/vm/code_genera...
File runtime/vm/code_generator.cc (right):

https://chromiumcodereview.appspot.com/10539068/diff/1/runtime/vm/code_genera...
runtime/vm/code_generator.cc:1399: #define DEOPT_REASON_ID_TO_TEXT(name) case
k##name: return ""#name;
On 2012/06/08 17:44:19, Vyacheslav Egorov (Google) wrote:
> why do we need empty string literal?

Removed. I thought it was required to force #name to be string.

Powered by Google App Engine
This is Rietveld 408576698