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

Issue 10634: Some fixes in ARM simulator:... (Closed)

Created:
12 years, 1 month ago by Feng Qian
Modified:
9 years, 7 months ago
Reviewers:
iposva
CC:
v8-dev
Visibility:
Public.

Description

Some fixes in ARM simulator: 1) create a simulator per thread and using thread storage; 2) capitalize two function names; 3) use sscanf instead of sscanf_s in arm simulator; 4) disable warning of sscanf when building with arm simulator; Committed: http://code.google.com/p/v8/source/detail?r=743

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -21 lines) Patch
M SConstruct View 1 chunk +2 lines, -1 line 1 comment Download
M src/simulator-arm.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/simulator-arm.cc View 5 chunks +13 lines, -17 lines 1 comment Download
M tools/visual_studio/arm.vsprops View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Feng Qian
12 years, 1 month ago (2008-11-12 16:38:35 UTC) #1
iposva
12 years, 1 month ago (2008-11-12 20:16:42 UTC) #2
Small comments below. Otherwise LGTM.

-Ivan

http://codereview.chromium.org/10634/diff/1/5
File SConstruct (right):

http://codereview.chromium.org/10634/diff/1/5#newcode110
Line 110: 'WARNINGFLAGS': ['/wd4996']
Is it possible to add an explanation why we are hiding the warning here?

http://codereview.chromium.org/10634/diff/1/4
File src/simulator-arm.cc (right):

http://codereview.chromium.org/10634/diff/1/4#newcode391
Line 391: v8::internal::Thread::SetThreadLocal(simulator_key, sim);
Since there is no AttachCurrentThread/DetachCurrentThread in the API we will be
leaking these simulators and their associated thread states. I know that the
thread switching code tries to somehow deal with that. You should file a bug to
deal with this at some later point.

Powered by Google App Engine
This is Rietveld 408576698